Formatting FKOauthDataStore
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user