X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Foauthconnectionssettings.php;h=eaa0fae8daa740ad1bb3eb284ab884934ca65610;hb=bc554ea9c233943e7b1077d724aa8070fdb7b0f9;hp=80fac0d50953826ce54253592e825dde1060be4d;hpb=87d46e1ae5e5effcc985021ff5af3f10815f3d3c;p=quix0rs-gnu-social.git diff --git a/actions/oauthconnectionssettings.php b/actions/oauthconnectionssettings.php index 80fac0d509..eaa0fae8da 100644 --- a/actions/oauthconnectionssettings.php +++ b/actions/oauthconnectionssettings.php @@ -32,7 +32,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { } require_once INSTALLDIR . '/lib/applicationlist.php'; -require_once INSTALLDIR . '/lib/statusnetoauthstore.php'; /** * Show connected OAuth applications @@ -167,9 +166,9 @@ class OauthconnectionssettingsAction extends SettingsAction return false; } - $app = Oauth_application::staticGet('id', $appUser->application_id); + $app = Oauth_application::getKV('id', $appUser->application_id); - $datastore = new ApiStatusNetOAuthDataStore(); + $datastore = new ApiGNUsocialOAuthDataStore(); $datastore->revoke_token($appUser->token, 1); $result = $appUser->delete();