summaryrefslogtreecommitdiff
path: root/plugins/TemplatePlugin.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-10-29 13:55:37 -0400
committerBrion Vibber <brion@pobox.com>2009-10-29 13:55:37 -0400
commitfd650715fa934df9b7e560881bfb622860588599 (patch)
treea4b9e504c039e472b851084a3b12e6fc055384f5 /plugins/TemplatePlugin.php
parent2c1af973bbe285b373ede9944330444d85772625 (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/TemplatePlugin.php')
-rw-r--r--plugins/TemplatePlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TemplatePlugin.php b/plugins/TemplatePlugin.php
index cfa051162..5f3ad81f5 100644
--- a/plugins/TemplatePlugin.php
+++ b/plugins/TemplatePlugin.php
@@ -32,7 +32,7 @@ class TemplatePlugin extends Plugin {
// capture the RouterInitialized event
// and connect a new API method
// for updating the template
- function onRouterInitialized( &$m ) {
+ function onRouterInitialized( $m ) {
$m->connect( 'template/update', array(
'action' => 'template',
));