function lookup_consumer($consumer_key) { /*{{{*/ $secret = DBUtils::retrieveCustomer($consumer_key); if ($secret) { return new OAuthConsumer($consumer_key, $secret, NULL); } return NULL; }