]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix warnings - function arguments should expect values instead of references
authorZach Copley <zach@status.net>
Tue, 23 Aug 2011 16:39:05 +0000 (09:39 -0700)
committerZach Copley <zach@status.net>
Tue, 23 Aug 2011 16:49:32 +0000 (09:49 -0700)
classes/Notice.php

index 0298cfdda3e0205667125886fddd4a6abce86ad0..3cbb2edd3da3122487b5ef325f17d8770a812937 100644 (file)
@@ -2624,7 +2624,7 @@ class Notice extends Managed_DataObject
         return $this->_faves;
     }
 
-    function _setFaves(&$faves)
+    function _setFaves($faves)
     {
         $this->_faves = $faves;
     }
@@ -2673,7 +2673,7 @@ class Notice extends Managed_DataObject
         return $this->_repeats;
     }
 
-    function _setRepeats(&$repeats)
+    function _setRepeats($repeats)
     {
         $this->_repeats = $repeats;
     }