summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;