Changeset 1130 for pykota/trunk/pykota/config.py
- Timestamp:
- 10/02/03 22:23:18 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/config.py
r1111 r1130 21 21 # 22 22 # $Log$ 23 # Revision 1.36 2003/10/02 20:23:18 jalet 24 # Storage caching mechanism added. 25 # 23 26 # Revision 1.35 2003/07/29 09:54:03 jalet 24 27 # Added configurable LDAP mail attribute support … … 401 404 else : 402 405 return 0 406 407 def getCaching(self) : 408 """Returns 1 if database caching is enabled, else 0.""" 409 caching = self.getGlobalOption("storagecaching", ignore=1) 410 if (caching is not None) and (caching.upper().strip() in ['Y', 'YES', '1', 'ON', 'O']) : 411 return 1 412 else : 413 return 0