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
1 changed files with 1 additions and 1 deletions

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;