Formatting FKOauthDataStore

This commit is contained in:
Hypolite Petovan 2017-12-17 15:34:29 -05:00
parent 2978b1eef0
commit 910d3f7b5f
1 changed files with 11 additions and 11 deletions

View File

@ -1,10 +1,12 @@
<?php
/**
* @file src/Protocol/FKOAuthDataStore.php
* OAuth server
* Based on oauth2-php <http://code.google.com/p/oauth2-php/>
*
*/
namespace Friendica\Network;
use Friendica\App;
@ -169,10 +171,8 @@ class FKOAuthDataStore extends OAuthDataStore
}
}
dba::delete('tokens', array('id' => $token->key));
if (!is_null($ret) && !is_null($uverifier)) {
Config::delete("oauth", $verifier);
}