summaryrefslogtreecommitdiff
path: root/lib/oauthstore.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-05 03:19:12 +0000
committerZach Copley <zach@status.net>2010-02-05 03:19:12 +0000
commit23802e58d6d01e5f8dacade2161147d31b2dacb9 (patch)
tree707120cc8d2d0217e4168473b7a7ef25e94919e0 /lib/oauthstore.php
parent4502bea9a86fe5992eb9b359d90f0c1f004998c1 (diff)
parent857494c9c61d872b7decf69de226bba6cd250d99 (diff)
Merge branch 'temp'
Diffstat (limited to 'lib/oauthstore.php')
-rw-r--r--lib/oauthstore.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/oauthstore.php b/lib/oauthstore.php
index b30fb49d5..eabe37f9f 100644
--- a/lib/oauthstore.php
+++ b/lib/oauthstore.php
@@ -65,7 +65,7 @@ class StatusNetOAuthDataStore extends OAuthDataStore
{
$n = new Nonce();
$n->consumer_key = $consumer->key;
- $n->ts = $timestamp;
+ $n->ts = common_sql_date($timestamp);
$n->nonce = $nonce;
if ($n->find(true)) {
return true;
@@ -362,7 +362,6 @@ class StatusNetOAuthDataStore extends OAuthDataStore
array('is_local' => Notice::REMOTE_OMB,
'uri' => $omb_notice->getIdentifierURI()));
-
}
/**