[pLog-svn] r617 - plog/trunk/class/plugin

ork at devel.plogworld.net ork at devel.plogworld.net
Wed Dec 29 23:30:50 GMT 2004


Author: ork
Date: 2004-12-29 23:30:50 +0000 (Wed, 29 Dec 2004)
New Revision: 617

Modified:
   plog/trunk/class/plugin/pluginmanager.class.php
Log:
removed call-by-reference


Modified: plog/trunk/class/plugin/pluginmanager.class.php
===================================================================
--- plog/trunk/class/plugin/pluginmanager.class.php	2004-12-29 23:25:30 UTC (rev 616)
+++ plog/trunk/class/plugin/pluginmanager.class.php	2004-12-29 23:30:50 UTC (rev 617)
@@ -248,11 +248,11 @@
         function getPlugins()
         {
             foreach( $this->_pluginList as $name ) {
-				if( $this->_pluginInstances["$name"] ) {
-	                $this->_pluginInstances["$name"]->setBlogInfo( &$this->_blogInfo );
-        	        $this->_pluginInstances["$name"]->setUserInfo( &$this->_userInfo );
-                	$this->_pluginInstances["$name"]->register();
-				}
+                if( $this->_pluginInstances["$name"] ) {
+                    $this->_pluginInstances["$name"]->setBlogInfo( $this->_blogInfo );
+                    $this->_pluginInstances["$name"]->setUserInfo( $this->_userInfo );
+                    $this->_pluginInstances["$name"]->register();
+                }
             }
 
             return $this->_pluginInstances;




More information about the pLog-svn mailing list