fixup caching problem with server variable
darcs-hash:20080602192242-84dde-e023e8f328ec7f6c283a0f436b2dd577659d9e10.gz
This commit is contained in:
parent
68242de9ef
commit
c294c85aba
|
@ -47,7 +47,7 @@ function omb_oauth_consumer() {
|
||||||
|
|
||||||
function omb_oauth_server() {
|
function omb_oauth_server() {
|
||||||
static $server = null;
|
static $server = null;
|
||||||
if ($server) {
|
if (!$server) {
|
||||||
$server = new OAuthServer(new LaconicaOAuthStore());
|
$server = new OAuthServer(new LaconicaOAuthStore());
|
||||||
}
|
}
|
||||||
return $server;
|
return $server;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user