X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsettingsaction.php;h=560534065f65c55a3149ce30d77496db9791c045;hb=eaaa978d20fe304543d0da929c5f10b35c45d992;hp=8c00054dcb6323441b8e7079b5839dd592c26940;hpb=e109b2592f86dec977922bc4474dde36aed109cb;p=quix0rs-gnu-social.git diff --git a/lib/settingsaction.php b/lib/settingsaction.php index 8c00054dcb..560534065f 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,6 +69,7 @@ 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()) { @@ -163,4 +164,19 @@ class SettingsAction extends CurrentUserDesignAction $menu = new SettingsNav($this); $menu->show(); } + + /** + * Show notice form. + * + * @return nothing + */ + + function showNoticeForm() + { + return; + } + + function showProfileBlock() + { + } }