diff options
Diffstat (limited to 'lib/private/User/Database.php')
-rw-r--r-- | lib/private/User/Database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/User/Database.php b/lib/private/User/Database.php index 0035c4bbc17..2d3808e9dc7 100644 --- a/lib/private/User/Database.php +++ b/lib/private/User/Database.php @@ -64,7 +64,7 @@ class Database extends ABackend implements public function __construct($eventDispatcher = null, $table = 'users') { $this->cache = new CappedMemoryCache(); $this->table = $table; - $this->eventDispatcher = $eventDispatcher ?: \OCP\Server::get(IEventDispatcher::class); + $this->eventDispatcher = $eventDispatcher ?? \OCP\Server::get(IEventDispatcher::class); } /** |