Merge pull request #2998 from Loki3000/master
Default cache value for null user
This commit is contained in:
commit
bc8e565e2a
|
@ -75,6 +75,7 @@ class Database extends Backend implements IUserBackend {
|
|||
*/
|
||||
public function __construct($eventDispatcher = null) {
|
||||
$this->cache = new CappedMemoryCache();
|
||||
$this->cache[null] = false;
|
||||
$this->eventDispatcher = $eventDispatcher ? $eventDispatcher : \OC::$server->getEventDispatcher();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue