[pLog-svn] r2647 - plog/trunk/class/cache

mark at devel.lifetype.net mark at devel.lifetype.net
Sun Nov 27 16:45:28 GMT 2005


Author: mark
Date: 2005-11-27 16:45:27 +0000 (Sun, 27 Nov 2005)
New Revision: 2647

Modified:
   plog/trunk/class/cache/cachemanager.class.php
Log:
Change the getInstance() to getCache(), and also use the right clear cache function $cache->clear().

Modified: plog/trunk/class/cache/cachemanager.class.php
===================================================================
--- plog/trunk/class/cache/cachemanager.class.php	2005-11-27 15:36:37 UTC (rev 2646)
+++ plog/trunk/class/cache/cachemanager.class.php	2005-11-27 16:45:27 UTC (rev 2647)
@@ -36,8 +36,8 @@
 
         function clearCache()
         {
-            $cache =& CacheManager::getInstance();
-            $cache->_clearCache();
+            $cacheInstance =& CacheManager::getCache();
+            $cacheInstance->cache->clean();
         }
 
         function &getCache()




More information about the pLog-svn mailing list