]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/TemplatePlugin.php
Warning cleanup: drop reference on router parameter to RouterInitialized event handlers.
[quix0rs-gnu-social.git] / plugins / TemplatePlugin.php
index cfa05116251bda9e6a09aae6d6ae465b70ea2d99..5f3ad81f526a238ad7fadd5b930d09469d88de54 100644 (file)
@@ -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',
     ));