Changeset 855


Ignore:
Timestamp:
Aug 27, 2010, 5:26:19 PM (6 years ago)
Author:
keesvb
Message:

reverted CI adjustment in BootStrap?, studies will now be added again when run in development mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r851 r855  
    115115
    116116                        // If in development mode and no studies are present, add example studies
    117                         if (Study.count() == 0 && grails.util.GrailsUtil.environment == GrailsApplication.ENV_PRODUCTION) {
     117                        if (Study.count() == 0 && grails.util.GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) {
    118118                                // check if special file is present in project directory
    119119                                if ((new File(System.properties['user.dir']+"/.skip-studies").exists())) {
Note: See TracChangeset for help on using the changeset viewer.