fixed PHP Fatal error: Attempt to unset static property accounts::$cache

This commit is contained in:
Ralf Becker 2014-05-20 15:55:17 +00:00
parent f27fbd3fc8
commit e6304eec45

View File

@ -178,8 +178,7 @@ class accounts
$this->config = $backend; $this->config = $backend;
$backend = null; $backend = null;
self::$_instance = $this; // also set instance returned by singleton self::$_instance = $this; // also set instance returned by singleton
unset(self::$cache); // and empty our internal (session) cache self::$cache = array(); // and empty our internal (session) cache
self::$cache = array();
} }
else else
{ {