X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsettingsaction.php;h=bed478f135d09c8c91cf20b39fe6d0416f620cea;hb=dd61ae8fbeee64c85f8186672292335592be1ff5;hp=c70a5ffa8d7a3fd7b4b52d8c1a1c605aff4012c5;hpb=2dbdb0f185cb9b98097ce2f20bbd9430ab715203;p=quix0rs-gnu-social.git diff --git a/lib/settingsaction.php b/lib/settingsaction.php index c70a5ffa8d..bed478f135 100644 --- a/lib/settingsaction.php +++ b/lib/settingsaction.php @@ -43,7 +43,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { * @see Widget */ -class SettingsAction extends CurrentUserDesignAction +class SettingsAction extends Action { /** * A message for the user. @@ -65,13 +65,12 @@ class SettingsAction extends CurrentUserDesignAction * @return void */ - function handle($args) + function handle(array $args=array()) { parent::handle($args); if (!common_logged_in()) { // TRANS: Error message displayed when trying to perform an action that requires a logged in user. $this->clientError(_('Not logged in.')); - return; } else if (!common_is_real_login()) { // Cookie theft means that automatic logins can't // change important settings or see private info, and