Ignore:
Timestamp:
21 Sep 2012, 08:19:35 (12 years ago)
Author:
uli
Message:

Rollback r9209. Looks like multiple merges from trunk confuse svn when merging back into trunk.

Location:
main/waeup.kofa/branches/uli-zc-async
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-zc-async

  • main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/students/payments.py

    r9209 r9211  
    9797        """Process student after payment was made.
    9898        """
    99         if self.p_current:
    100             error = self._createActivationCodes()
    101             if error is not None:
    102                 return False, error, error
     99        error = self._createActivationCodes()
     100        if error is not None:
     101            return False, error, error
    103102        log = 'successful payment: %s' % self.p_id
    104103        msg = _('Successful payment')
     
    108107        """Process student after payment was approved.
    109108        """
    110         if self.p_current:
    111             error = self._createActivationCodes()
    112             if error is not None:
    113                 return False, error, error
     109        error = self._createActivationCodes()
     110        if error is not None:
     111            return False, error, error
    114112        log = 'payment approved: %s' % self.p_id
    115113        msg = _('Payment approved')
Note: See TracChangeset for help on using the changeset viewer.