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

oscar at devel.plogworld.net oscar at devel.plogworld.net
Thu Dec 30 10:58:07 GMT 2004


Author: oscar
Date: 2004-12-30 10:58:06 +0000 (Thu, 30 Dec 2004)
New Revision: 619

Modified:
   plog/trunk/class/plugin/pluginbase.class.php
Log:
in revision 617 we removed a call-by-reference but that reference was there for a reason... I've added the reference to the function parameter, because that's where it should be! (but please be careful when removing references!!)


Modified: plog/trunk/class/plugin/pluginbase.class.php
===================================================================
--- plog/trunk/class/plugin/pluginbase.class.php	2004-12-30 00:16:23 UTC (rev 618)
+++ plog/trunk/class/plugin/pluginbase.class.php	2004-12-30 10:58:06 UTC (rev 619)
@@ -173,7 +173,7 @@
         /**
          * @private
          */
-        function setBlogInfo( $blogInfo )
+        function setBlogInfo( &$blogInfo )
         {
         	$this->blogInfo = $blogInfo;
 			if( $this->_blogInfo != null ) 
@@ -183,7 +183,7 @@
         /**
          * @private
          */
-        function setUserInfo( $userInfo )
+        function setUserInfo( &$userInfo )
         {
 			$this->userInfo = $userInfo;
         }




More information about the pLog-svn mailing list