]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remove unnecessary pass by reference indicators
authorCraig Andrews <candrews@integralblue.com>
Fri, 4 Dec 2009 00:59:31 +0000 (19:59 -0500)
committerCraig Andrews <candrews@integralblue.com>
Fri, 4 Dec 2009 00:59:31 +0000 (19:59 -0500)
plugins/Mapstraction/MapstractionPlugin.php
plugins/UserFlag/UserFlagPlugin.php

index ca1a3bf209618641ffc11c4208bf23ec1bc0db7a..c4f9cd77de152a9fee1676807cf767421af5c218 100644 (file)
@@ -58,12 +58,12 @@ class MapstractionPlugin extends Plugin
      *
      * The way to register new actions from a plugin.
      *
-     * @param Router &$m reference to router
+     * @param Router $m reference to router
      *
      * @return boolean event handler return
      */
 
-    function onRouterInitialized(&$m)
+    function onRouterInitialized($m)
     {
         $m->connect(':nickname/all/map',
                     array('action' => 'allmap'),
index 60c0c2c0ac99865d92bc3033daa9478bc6ed73d5..e13c2555aa1847b32f3dbcb2ebd0070558e3dd1c 100644 (file)
@@ -68,7 +68,7 @@ class UserFlagPlugin extends Plugin
         return true;
     }
 
-    function onRouterInitialized(&$m) {
+    function onRouterInitialized($m) {
         $m->connect('main/flag/profile', array('action' => 'flagprofile'));
         $m->connect('admin/profile/flag', array('action' => 'adminprofileflag'));
         return true;