]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/connectsettingsaction.php
Cleanup stray PHP 4-style references in hook calls for navigation bars. We can't...
[quix0rs-gnu-social.git] / lib / connectsettingsaction.php
index 325276c5fcd2a1c9643bd9c0df95821f4aa32289..20f18ef0d97485ddf91dd9611d00aa5d55267c4a 100644 (file)
@@ -96,7 +96,7 @@ class ConnectSettingsNav extends Widget
         $action_name = $this->action->trimmed('action');
         $this->action->elementStart('ul', array('class' => 'nav'));
 
-        if (Event::handle('StartConnectSettingsNav', array(&$this->action))) {
+        if (Event::handle('StartConnectSettingsNav', array($this->action))) {
 
             # action => array('prompt', 'title')
             $menu = array();
@@ -129,7 +129,7 @@ class ConnectSettingsNav extends Widget
                         $action_name === $menuaction);
             }
 
-            Event::handle('EndConnectSettingsNav', array(&$this->action));
+            Event::handle('EndConnectSettingsNav', array($this->action));
         }
 
         $this->action->elementEnd('ul');