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