X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Faccountsettingsaction.php;h=b1ea998bfab2b21d233d6250391794627a02e675;hb=119d0f7dbab40f30170ba263de78d7e9cea984db;hp=57740f8b85cb15417dcfed217d86b5e5f52a87c4;hpb=d88b208edcb75ec864e09bb3ab29785b35064400;p=quix0rs-gnu-social.git diff --git a/lib/accountsettingsaction.php b/lib/accountsettingsaction.php index 57740f8b85..b1ea998bfa 100644 --- a/lib/accountsettingsaction.php +++ b/lib/accountsettingsaction.php @@ -44,7 +44,6 @@ require_once INSTALLDIR.'/lib/settingsaction.php'; * * @see Widget */ - class AccountSettingsAction extends SettingsAction { /** @@ -54,7 +53,6 @@ class AccountSettingsAction extends SettingsAction * * @return void */ - function showLocalNav() { $menu = new AccountSettingsNav($this); @@ -73,7 +71,6 @@ class AccountSettingsAction extends SettingsAction * * @see HTMLOutputter */ - class AccountSettingsNav extends Widget { var $action = null; @@ -83,7 +80,6 @@ class AccountSettingsNav extends Widget * * @param Action $action current action, used for output */ - function __construct($action=null) { parent::__construct($action); @@ -95,13 +91,12 @@ class AccountSettingsNav extends Widget * * @return void */ - function show() { $action_name = $this->action->trimmed('action'); $this->action->elementStart('ul', array('class' => 'nav')); - if (Event::handle('StartAccountSettingsNav', array(&$this->action))) { + if (Event::handle('StartAccountSettingsNav', array($this->action))) { $user = common_current_user(); if(Event::handle('StartAccountSettingsProfileMenuItem', array($this, &$menu))){ @@ -147,7 +142,7 @@ class AccountSettingsNav extends Widget Event::handle('EndAccountSettingsOtherMenuItem', array($this, &$menu)); } - Event::handle('EndAccountSettingsNav', array(&$this->action)); + Event::handle('EndAccountSettingsNav', array($this->action)); } $this->action->elementEnd('ul');