Changeset 6426 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 20 Jun 2011, 16:05:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py
r6425 r6426 134 134 self[ac.representation] = ac 135 135 return 136 137 #def invalidate(self, ac_id, student_id=None):138 # """Invalidate the AC with ID ``ac_id``.139 # """140 # self.invalidated_num += 1141 142 #def disable(self, ac_id, user_id=None):143 # """Disable the AC with ID ``ac_id``.144 #145 # ``user_id`` is the user ID of the user triggering the146 # process. Already disabled ACs are left untouched.147 # """148 # num = self._acids[ac_id]149 # ac = self.getAccessCode(ac_id)150 # if ac._disabled == True:151 # return152 # self.disabled_num += 1153 154 #def enable(self, ac_id):155 # """(Re-)enable the AC with ID ``ac_id``.156 #157 # This leaves the given AC in state ``unused``. Already enabled158 # ACs are left untouched.159 # """160 136 161 137 def createCSVLogFile(self):
Note: See TracChangeset for help on using the changeset viewer.