Changeset 266


Ignore:
Timestamp:
Mar 15, 2010, 9:28:43 AM (13 years ago)
Author:
keesvb
Message:

changed bootstrapping reason

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.