Changeset 6458 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 23 Jun 2011, 06:23:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py
r6453 r6458 293 293 return None 294 294 295 def disable(self, ac_id, user_id):295 def disable(self, ac_id, comment=None): 296 296 """Disable the AC with ID ``ac_id``. 297 297 … … 302 302 if ac is None: 303 303 return 304 disable_accesscode(ac_id, user_id)305 return 306 307 def enable(self, ac_id, user_id):304 disable_accesscode(ac_id, comment) 305 return 306 307 def enable(self, ac_id, comment=None): 308 308 """(Re-)enable the AC with ID ``ac_id``. 309 309 … … 314 314 if ac is None: 315 315 return 316 reenable_accesscode(ac_id, user_id)316 reenable_accesscode(ac_id, comment) 317 317 return 318 318
Note: See TracChangeset for help on using the changeset viewer.