summaryrefslogtreecommitdiff
path: root/lib/oauthstore.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-02 16:06:45 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-02 16:06:45 -0400
commit7b24d101c07ba40b5c8b648bdca0cd6d16ad15f1 (patch)
tree092948e0c3e079bf3ffae2b615b5be9e717b5c9f /lib/oauthstore.php
parent10f9a8a125c08dd403319aa84b4902db91253095 (diff)
fix consumer fetching, nonce making
darcs-hash:20080602200645-84dde-c72e2e98a955bdd7768fa39da30660dfcffd0f15.gz
Diffstat (limited to 'lib/oauthstore.php')
-rw-r--r--lib/oauthstore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oauthstore.php b/lib/oauthstore.php
index fe7f68c02..4ad123455 100644
--- a/lib/oauthstore.php
+++ b/lib/oauthstore.php
@@ -26,7 +26,7 @@ class LaconicaOAuthDataStore extends OAuthDataStore {
# We keep a record of who's contacted us
function lookup_consumer($consumer_key) {
- $con = new Consumer('key', $consumer_key);
+ $con = Consumer::staticGet('consumer_key', $consumer_key);
if (!$con) {
$con = new Consumer();
$con->consumer_key = $consumer_key;