Changeset 675

Show
Ignore:
Timestamp:
21-07-10 10:47:41 (4 years ago)
Author:
duh
Message:

- temporarily disabled samples logic in controler for non-development environments (bugfix)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy

    r674 r675  
    660660 
    661661// for now, development only! 
    662 if (grails.util.GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) { 
     662if (grails.util.GrailsUtil.environment == "development") { 
    663663                                // iterate through eventGroups 
    664664                                if (!flow.samples) { 
     
    758758 
    759759// for now, development only! 
    760 if (grails.util.GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) { 
     760if (grails.util.GrailsUtil.environment == "development") { 
    761761                                // do all samples have a template assigned? 
    762762                                if (flow.samplesWithTemplate < flow.samples.size()) {