]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/logout.php
Twitter integration - Add and remove Twitter accnt now working
[quix0rs-gnu-social.git] / actions / logout.php
index 3d52da0d655ae16c70beddd413e48b650788230a..f00fa0ba7f2f39298e77cdd365099b3d53cb8954 100644 (file)
@@ -22,10 +22,15 @@ if (!defined('LACONICA')) { exit(1); }
 require_once(INSTALLDIR.'/lib/openid.php');
 
 class LogoutAction extends Action {
+       
+       function is_readonly() {
+               return true;
+       }
+       
        function handle($args) {
                parent::handle($args);
                if (!common_logged_in()) {
-                       common_user_error(_t('Not logged in.'));
+                       common_user_error(_('Not logged in.'));
                } else {
                        common_set_user(NULL);
                        common_real_login(false); # not logged in