summaryrefslogtreecommitdiff
path: root/lib/oauthstore.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-23 14:44:28 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-23 14:44:28 -0500
commit7ad2f2a371eae2489330f30306cfcbb204411bae (patch)
tree860c4f8e3749bb180f5d287c6b8e5eb65ccea5f1 /lib/oauthstore.php
parent04ef1ba8eee7a9e2a565d7b4b747ef607665d562 (diff)
TRUE
More PEAR coding standards global changes. Here, I've changed all instances of TRUE to true and FALSE to false. darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz
Diffstat (limited to 'lib/oauthstore.php')
-rw-r--r--lib/oauthstore.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/oauthstore.php b/lib/oauthstore.php
index 7ec3ca655..faae82db1 100644
--- a/lib/oauthstore.php
+++ b/lib/oauthstore.php
@@ -59,13 +59,13 @@ class LaconicaOAuthDataStore extends OAuthDataStore {
$n->consumer_key = $consumer->key;
$n->tok = $token->key;
$n->nonce = $nonce;
- if ($n->find(TRUE)) {
- return TRUE;
+ if ($n->find(true)) {
+ return true;
} else {
$n->timestamp = $timestamp;
$n->created = DB_DataObject_Cast::dateTime();
$n->insert();
- return FALSE;
+ return false;
}
}
@@ -99,7 +99,7 @@ class LaconicaOAuthDataStore extends OAuthDataStore {
$rt->consumer_key = $consumer->key;
$rt->tok = $token->key;
$rt->type = 0; # request
- if ($rt->find(TRUE) && $rt->state == 1) { # authorized
+ if ($rt->find(true) && $rt->state == 1) { # authorized
common_debug('request token found.', __FILE__);
$at = new Token();
$at->consumer_key = $consumer->key;