[pLog-svn] r704 - plog/trunk/class/template

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sun Jan 9 12:16:49 GMT 2005


Author: oscar
Date: 2005-01-09 12:16:48 +0000 (Sun, 09 Jan 2005)
New Revision: 704

Modified:
   plog/trunk/class/template/cachecontrol.class.php
Log:
static methods cannot have references to $this!!!

Modified: plog/trunk/class/template/cachecontrol.class.php
===================================================================
--- plog/trunk/class/template/cachecontrol.class.php	2005-01-09 12:06:27 UTC (rev 703)
+++ plog/trunk/class/template/cachecontrol.class.php	2005-01-09 12:16:48 UTC (rev 704)
@@ -22,8 +22,6 @@
 		 */
 		function resetAllCaches()
 		{
-			$this->log->debug("ALL CACHES EMPTIED!" );
-			
 			// get a list of all the blogs
 			$blogs = new Blogs();
 			$siteBlogs = $blogs->getAllBlogs();
@@ -58,8 +56,6 @@
 			
 			File::deleteDir( $summaryTmpFolder );
 			
-			$this->log->debug( "SUMMARY CACHE EMPTIED!" );
-			
 			return true;		
 		}
 		
@@ -95,8 +91,6 @@
 			
 			//$t->clear_cache( null );
 			
-			$this->log->debug( "CACHE FOR BLOG $blogId EMPTIED!" );
-			
 			// we need to clear the contents of the summary caches because we have added or removed
 			// posts or done something that might affect the summary!
 			if( $resetSummary )




More information about the pLog-svn mailing list