summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-02-18 13:55:28 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-02-18 14:25:18 +0100
commitb539bb15e1ef3a7d65d33ab7b99492e4f91e680e (patch)
tree06a11e98869d7ef53311e26bca2fad3b21edb24a /lib/private/server.php
parent7abb8693a16f96c3bcb252afce39fbd29ec0ed57 (diff)
downloadnextcloud-server-b539bb15e1ef3a7d65d33ab7b99492e4f91e680e.tar.gz
nextcloud-server-b539bb15e1ef3a7d65d33ab7b99492e4f91e680e.zip
Make scrutinizer happy
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index 96eb5386ad6..7c8ecce71a5 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -40,7 +40,6 @@ namespace OC;
use bantu\IniGetWrapper\IniGetWrapper;
use OC\AppFramework\Http\Request;
use OC\AppFramework\Db\Db;
-use OC\AppFramework\Utility\SimpleContainer;
use OC\AppFramework\Utility\TimeFactory;
use OC\Command\AsyncBus;
use OC\Diagnostics\EventLogger;
@@ -164,7 +163,7 @@ class Server extends ServerContainer implements IServerContainer {
$this->registerService('SystemTagObjectMapper', function (Server $c) {
return $c->query('SystemTagManagerFactory')->getObjectMapper();
});
- $this->registerService('RootFolder', function (Server $c) {
+ $this->registerService('RootFolder', function () {
$manager = \OC\Files\Filesystem::getMountManager(null);
$view = new View();
$root = new Root($manager, $view, null);