Update false evaluations

=== false and !== false to is_null where appropriate.
This commit is contained in:
Adam Magness 2017-12-06 14:57:06 -05:00
parent 09d798ba77
commit cadfef63c4
7 changed files with 13 additions and 9 deletions

View file

@ -171,7 +171,7 @@ class FKOAuthDataStore extends OAuthDataStore
dba::delete('tokens', array('id' => $token->key));
if (!is_null($ret) && $uverifier !== false) {
if (!is_null($ret) && !is_null($uverifier)) {
Config::delete("oauth", $verifier);
}