]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't show 'anonymous' app in OAuth application list.
authorZach Copley <zach@status.net>
Thu, 21 Oct 2010 23:42:59 +0000 (16:42 -0700)
committerZach Copley <zach@status.net>
Thu, 21 Oct 2010 23:42:59 +0000 (16:42 -0700)
actions/oauthappssettings.php

index 6c0670b17bfecc31605fd9316a6aa5394eda2a3d..e75f014ab5186da0819d00375543f9e4460097c1 100644 (file)
@@ -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();