]> 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 b56fa3dbdd5298d17cc872aed694da7b0d775f52..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',
     ));
@@ -195,7 +195,7 @@ class TemplatePlugin extends Plugin {
     );
     
     // use the PHP template
-    // unless laconica config:
+    // unless statusnet config:
     //   $config['template']['mode'] = 'html';
     if (!(common_config('template', 'mode') == 'html')) {
       $tpl_file = $this->templateFolder() . '/index.php';
@@ -326,7 +326,7 @@ class TemplateAction extends Action
 }
 
 /**
- * Function for retrieving a laconica display section
+ * Function for retrieving a statusnet display section
  *
  * requires one parameter, the name of the section
  * section names are listed in the comments of the TemplatePlugin class