Changeset 320 for trunk/email2trac.py.in


Ignore:
Timestamp:
02/22/10 15:31:24 (13 years ago)
Author:
bas
Message:

email2trac.py.in:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r319 r320  
    268268                        self.IGNORE_TRAC_USER_SETTINGS = 0
    269269
     270                if parameters.has_key('email_triggers_workflow'):
     271                        self.EMAIL_TRIGGERS_WORKFLOW = int(parameters['email_triggers_workflow'])
     272                else:
     273                        self.EMAIL_TRIGGERS_WORKFLOW = 1
     274
    270275                if parameters.has_key('subject_field_separator'):
    271276                        self.SUBJECT_FIELD_SEPARATOR = parameters['subject_field_separator'].strip()
     
    714719                # We must use the ticket workflow framework
    715720                #
    716                 if tkt['status'] in ['closed']:
     721                if tkt['status'] in ['closed'] and self.EMAIL_TRIGGERS_WORKFLOW:
    717722
    718723                        #print controller.actions['reopen']
Note: See TracChangeset for help on using the changeset viewer.