[pLog-svn] r808 - plog/trunk/class/action/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sun Jan 23 20:52:47 GMT 2005


Author: oscar
Date: 2005-01-23 20:52:47 +0000 (Sun, 23 Jan 2005)
New Revision: 808

Modified:
   plog/trunk/class/action/admin/adminaction.class.php
Log:
fix for the fix :)

Modified: plog/trunk/class/action/admin/adminaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaction.class.php	2005-01-23 20:49:59 UTC (rev 807)
+++ plog/trunk/class/action/admin/adminaction.class.php	2005-01-23 20:52:47 UTC (rev 808)
@@ -61,6 +61,9 @@
                 }
             }
 			
+			// prepare the plugin manager in case we'd like to throw events
+			$this->_pm =& PluginManager::getPluginManager();			
+			
 			// fetch the site locale
             $this->_locale =& $this->getLocale();
         }
@@ -114,9 +117,8 @@
         function setCommonData( $copyFormValues = false )
         {	
 			parent::setCommonData( $copyFormValues );
-			
-			// prepare the plugin manager
-			$this->_pm =& PluginManager::getPluginManager();
+
+			// initialiaze plugins
 			$this->_pm->setBlogInfo( $this->_blogInfo );
 			$this->_pm->setUserInfo( $this->_userInfo );
 			$this->_pm->getPlugins();			




More information about the pLog-svn mailing list