X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsettingsaction.php;h=fd4885c830223072a9421435def6fb756b448613;hb=b24d711f552854d88f2df2120672bdaf173335fc;hp=c7113d15c2b651c6ba07fe302b1973d3fdbf4bdb;hpb=cd4b23aa399a51744787e580f8dfdb3886bfc8f5;p=quix0rs-gnu-social.git diff --git a/lib/settingsaction.php b/lib/settingsaction.php index c7113d15c2..fd4885c830 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. @@ -69,8 +69,8 @@ class SettingsAction extends CurrentUserDesignAction { 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