diff options
author | Brion Vibber <brion@pobox.com> | 2009-10-29 13:55:37 -0400 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-10-29 13:55:37 -0400 |
commit | fd650715fa934df9b7e560881bfb622860588599 (patch) | |
tree | a4b9e504c039e472b851084a3b12e6fc055384f5 /plugins/OpenID | |
parent | 2c1af973bbe285b373ede9944330444d85772625 (diff) |
Warning cleanup: drop reference on router parameter to RouterInitialized event handlers.
We don't (and don't need to) pass a reference here, and the mix can trigger warnings.
Diffstat (limited to 'plugins/OpenID')
-rw-r--r-- | plugins/OpenID/OpenIDPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php index 560da71e7..81e3ed9c4 100644 --- a/plugins/OpenID/OpenIDPlugin.php +++ b/plugins/OpenID/OpenIDPlugin.php @@ -62,7 +62,7 @@ class OpenIDPlugin extends Plugin * @return boolean hook return */ - function onRouterInitialized(&$m) + function onRouterInitialized($m) { $m->connect('main/openid', array('action' => 'openidlogin')); $m->connect('settings/openid', array('action' => 'openidsettings')); |