]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/oauthappssettings.php
More RESTish URL (/notice/:notice/delete) for notice delete
[quix0rs-gnu-social.git] / actions / oauthappssettings.php
index a7a4b219a3ddaad9f8c76e0d54fb38db1a86475c..29e6d5607333e9e3d17fd2ab21316df45c927339 100644 (file)
@@ -31,6 +31,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
+require_once INSTALLDIR . '/lib/applicationlist.php';
+
 /**
  * Show a user's registered OAuth applications
  *
@@ -55,7 +57,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;