From 7b24d101c07ba40b5c8b648bdca0cd6d16ad15f1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 2 Jun 2008 16:06:45 -0400 Subject: fix consumer fetching, nonce making darcs-hash:20080602200645-84dde-c72e2e98a955bdd7768fa39da30660dfcffd0f15.gz --- lib/oauthstore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oauthstore.php') 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; -- cgit v1.2.3-54-g00ecf