Changeset 266

Show
Ignore:
Timestamp:
15-03-10 09:28:43 (4 years ago)
Author:
keesvb
Message:

changed bootstrapping reason

Files:
1 modified

Legend:

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

    r260 r266  
    2222                System.setProperty('user.timezone', 'CET') 
    2323 
    24                 if (GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) { 
     24                // we could also check if we are in development by GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT 
     25                if (Study.count() == 0) { 
    2526                        printf("development bootstrapping....\n\n"); 
    2627