Changeset 3128 in products for quintagroup.captcha.core/trunk/quintagroup/captcha/core/CaptchaTool.py
- Timestamp:
- Apr 18, 2011 11:16:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.captcha.core/trunk/quintagroup/captcha/core/CaptchaTool.py
r2180 r3128 5 5 from AccessControl import ClassSecurityInfo 6 6 from Products.Transience.Transience import TransientObjectContainer 7 7 8 8 9 class CaptchaTool(TransientObjectContainer): … … 13 14 security.declarePublic('addExpiredKey') 14 15 15 def __init__(self, id='portal_captchas', title='', timeout_mins=60, addNotification=None, 16 def __init__(self, id='portal_captchas', title='', 17 timeout_mins=60, addNotification=None, 16 18 delNotification=None, limit=0, period_secs=60): 17 TransientObjectContainer.__init__(self, id, title, timeout_mins, addNotification, 18 delNotification, limit, period_secs) 19 TransientObjectContainer.__init__(self, id, title, timeout_mins, 20 addNotification, delNotification, 21 limit, period_secs) 19 22 20 23 def addExpiredKey(self, key):
Note: See TracChangeset
for help on using the changeset viewer.