From: Thomas Müller Date: Fri, 22 Jan 2016 10:01:54 +0000 (+0100) Subject: Merge pull request #20768 from owncloud/mount-cache X-Git-Tag: v9.0beta1~226 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=141012075839f1f08cb42aa14396ae69e024f97f;p=nextcloud-server.git Merge pull request #20768 from owncloud/mount-cache cache mountpoints in the db --- 141012075839f1f08cb42aa14396ae69e024f97f diff --cc lib/private/server.php index a16e6b9839b,9a1f8548b93..69f403308b3 --- a/lib/private/server.php +++ b/lib/private/server.php @@@ -544,10 -542,10 +553,10 @@@ class Server extends ServerContainer im $config = $c->getConfig(); $factoryClass = $config->getSystemValue('comments.managerFactory', '\OC\Comments\ManagerFactory'); /** @var \OCP\Comments\ICommentsManagerFactory $factory */ - $factory = new $factoryClass(); + $factory = new $factoryClass($this); return $factory->getManager(); }); - $this->registerService('EventDispatcher', function() { + $this->registerService('EventDispatcher', function () { return new EventDispatcher(); }); $this->registerService('CryptoWrapper', function (Server $c) {