diff options
author | Zach Copley <zach@status.net> | 2010-02-05 01:38:29 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-02-05 01:38:29 +0000 |
commit | 10dfcde0b2099a169ccd3af0ecfbf2de9da551d6 (patch) | |
tree | e65df2cda26401176b95adc5f0f0907dff0c48ec /lib | |
parent | 82f11190734c203ed6b2fd4a07cb9460f25b2183 (diff) |
Actually store the timestamp on each nonce
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oauthstore.php | 3 |
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())); - } /** |