diff options
author | Evan Prodromou <evan@status.net> | 2010-02-06 11:24:12 +0100 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-06 11:24:12 +0100 |
commit | 823939ca84bd19ced394771d3f08b7c72a9dec84 (patch) | |
tree | a35918d128f8a70e5e5ab8a4de9c38aae0c4ce7a /lib/oauthstore.php | |
parent | 900cb8dd91b954d4e720b0c8afb2884419f43cd7 (diff) | |
parent | fc226a6ad5c4b120858b70d3af4d6f9c288d08d6 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/oauthstore.php')
-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())); - } /** |