Changeset 2066 for pykota/trunk/pykota/storage.py
- Timestamp:
- 02/16/05 01:29:33 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r2057 r2066 22 22 # 23 23 # $Log$ 24 # Revision 1.70 2005/02/16 00:29:33 jalet 25 # Fixed the maxdenybanners directive. 26 # Introduced the denyduplicates directive. 27 # Fixed some database related glitches. 28 # 24 29 # Revision 1.69 2005/02/13 22:48:37 jalet 25 30 # Added the md5sum to the history … … 487 492 self.WarnCount = 0 488 493 489 def warn(self) :490 """Incre ases the warncounter for this user quota."""494 def incDenyBannerCounter(self) : 495 """Increment the deny banner counter for this user quota.""" 491 496 self.parent.increaseUserPQuotaWarnCount(self) 492 497 self.WarnCount = (self.WarnCount or 0) + 1 498 499 def resetDenyBannerCounter(self) : 500 """Resets the deny banner counter for this user quota.""" 501 self.parent.writeUserPQuotaWarnCount(self, 0) 502 self.WarnCount = 0 493 503 494 504 def reset(self) :