]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/oauthappssettings.php
OAuth widgets separated into their own files
[quix0rs-gnu-social.git] / actions / oauthappssettings.php
index a7a4b219a3ddaad9f8c76e0d54fb38db1a86475c..e9b6280feb81ad65e1f0c1374b1d22de2c641b37 100644 (file)
@@ -27,9 +27,7 @@
  * @link      http://status.net/
  */
 
-if (!defined('STATUSNET') && !defined('LACONICA')) {
-    exit(1);
-}
+if (!defined('GNUSOCIAL')) { exit(1); }
 
 /**
  * Show a user's registered OAuth applications
@@ -55,7 +53,6 @@ class OauthappssettingsAction extends SettingsAction
         if (!common_logged_in()) {
             // TRANS: Message displayed to an anonymous user trying to view OAuth application list.
             $this->clientError(_('You must be logged in to list your applications.'));
-            return false;
         }
 
         return true;