Changeset 405
- Timestamp:
- Aug 23, 2012 2:31:51 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/skel/admin.php
r396 r405 58 58 // Configure the cache object. 59 59 $cache = new Cache('%NAME_PLURAL%'); 60 $cache->setParam(array('enable ' => true));60 $cache->setParam(array('enabled' => true)); 61 61 62 62 %SORT_ORDER% -
trunk/lib/Cache.inc.php
r396 r405 228 228 function exists($key) 229 229 { 230 $app =& App::getInstance(); 231 230 232 if (true !== $this->getParam('enabled')) { 233 $app->logMsg(sprintf('Cache disabled on exist assertion.', null), LOG_DEBUG, __FILE__, __LINE__); 231 234 return false; 232 235 } -
trunk/services/admins.php
r396 r405 56 56 // Configure the cache object. 57 57 $cache = new Cache('admins'); 58 $cache->setParam(array('enable ' => true));58 $cache->setParam(array('enabled' => false)); // Better leave disabled; the list gets out of sync with the db otherwise, somehow. 59 59 60 60 // Instantiate a sorting object with the default sort and order. Add SQL for each column.
Note: See TracChangeset
for help on using the changeset viewer.