]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #20768 from owncloud/mount-cache
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 22 Jan 2016 10:01:54 +0000 (11:01 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Fri, 22 Jan 2016 10:01:54 +0000 (11:01 +0100)
cache mountpoints in the db

1  2 
lib/private/server.php

index a16e6b9839be0f0cba93a7613b482cd34ec93d22,9a1f8548b936c8af5c6db497274db9a81cfacc0e..69f403308b38ad8739960c3c8b67474ffebe871d
@@@ -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) {