Formatting FKOauthDataStore
This commit is contained in:
parent
2978b1eef0
commit
910d3f7b5f
1 changed files with 11 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue