Remove unnecessary pass by reference indicators
This commit is contained in:
parent
567bd6c0c2
commit
35ff3961e8
@ -58,12 +58,12 @@ class MapstractionPlugin extends Plugin
|
|||||||
*
|
*
|
||||||
* The way to register new actions from a 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
|
* @return boolean event handler return
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onRouterInitialized(&$m)
|
function onRouterInitialized($m)
|
||||||
{
|
{
|
||||||
$m->connect(':nickname/all/map',
|
$m->connect(':nickname/all/map',
|
||||||
array('action' => 'allmap'),
|
array('action' => 'allmap'),
|
||||||
|
@ -68,7 +68,7 @@ class UserFlagPlugin extends Plugin
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function onRouterInitialized(&$m) {
|
function onRouterInitialized($m) {
|
||||||
$m->connect('main/flag/profile', array('action' => 'flagprofile'));
|
$m->connect('main/flag/profile', array('action' => 'flagprofile'));
|
||||||
$m->connect('admin/profile/flag', array('action' => 'adminprofileflag'));
|
$m->connect('admin/profile/flag', array('action' => 'adminprofileflag'));
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user