Remove unnecessary pass by reference indicators

This commit is contained in:
Craig Andrews 2009-12-03 19:59:31 -05:00
parent 567bd6c0c2
commit 35ff3961e8
2 changed files with 3 additions and 3 deletions

View 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'),

View 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;