[pLog-svn] r3465 - plog/trunk

mark at devel.lifetype.net mark at devel.lifetype.net
Sun May 28 13:34:43 GMT 2006


Author: mark
Date: 2006-05-28 13:34:42 +0000 (Sun, 28 May 2006)
New Revision: 3465

Modified:
   plog/trunk/xmlrpc.php
Log:
Forgot to assign the $blogid, that's why the blog cache does not cleared.

Modified: plog/trunk/xmlrpc.php
===================================================================
--- plog/trunk/xmlrpc.php	2006-05-26 12:06:34 UTC (rev 3464)
+++ plog/trunk/xmlrpc.php	2006-05-28 13:34:42 UTC (rev 3465)
@@ -490,6 +490,7 @@
             // Send the EVENT_POST_POST_UPDATE messages to the plugins
             $plugMgr->notifyEvent( EVENT_POST_POST_UPDATE, Array( "article" => &$article ));				
             
+    		$blogid = $article->getBlog();
     		CacheControl::resetBlogCache( $blogid );            
 
             return true;
@@ -629,6 +630,7 @@
             // Send the EVENT_POST_POST_DELETE messages to the plugins
             $plugMgr->notifyEvent( EVENT_POST_POST_DELETE, Array( "article" => &$article ));				
 
+    		$blogid = $article->getBlog();
     		CacheControl::resetBlogCache( $blogid );            
             
             return true;



More information about the pLog-svn mailing list