From: Zach Copley Date: Thu, 21 Oct 2010 23:42:59 +0000 (-0700) Subject: Don't show 'anonymous' app in OAuth application list. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=94f7bfa50ae3a2f3443addc3825d99e584cb7d68;p=quix0rs-gnu-social.git Don't show 'anonymous' app in OAuth application list. --- diff --git a/actions/oauthappssettings.php b/actions/oauthappssettings.php index 6c0670b17b..e75f014ab5 100644 --- a/actions/oauthappssettings.php +++ b/actions/oauthappssettings.php @@ -100,6 +100,7 @@ class OauthappssettingsAction extends SettingsAction $application = new Oauth_application(); $application->owner = $user->id; + $application->whereAdd("name != 'anonymous'"); $application->limit($offset, $limit); $application->orderBy('created DESC'); $application->find();