fixup caching problem with server variable

darcs-hash:20080602192242-84dde-e023e8f328ec7f6c283a0f436b2dd577659d9e10.gz
This commit is contained in:
Evan Prodromou 2008-06-02 15:22:42 -04:00
parent 68242de9ef
commit c294c85aba

View File

@ -47,7 +47,7 @@ function omb_oauth_consumer() {
function omb_oauth_server() {
static $server = null;
if ($server) {
if (!$server) {
$server = new OAuthServer(new LaconicaOAuthStore());
}
return $server;