summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-03-06 14:51:17 +0100
committerMorris Jobke <hey@morrisjobke.de>2019-03-06 15:43:56 +0100
commit3f9cdeeb5fe9aee97e410ec59bbdd1c9cf3c33d5 (patch)
treeaf97bc7d57dfc676a99d1b19ace4235fac070e9c /lib/private/Server.php
parentbdf95ef0eca7ac1db75b743c9d6ca232e6d3f3a3 (diff)
downloadnextcloud-server-3f9cdeeb5fe9aee97e410ec59bbdd1c9cf3c33d5.tar.gz
nextcloud-server-3f9cdeeb5fe9aee97e410ec59bbdd1c9cf3c33d5.zip
Cleanup some PHPDoc leftovers and unused variables
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 68aba3645cf..6507f58f896 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -497,8 +497,6 @@ class Server extends ServerContainer implements IServerContainer {
ArrayCache::class
);
$config = $c->getConfig();
- $request = $c->getRequest();
- $urlGenerator = new URLGenerator($config, $arrayCacheFactory, $request);
if ($config->getSystemValue('installed', false) && !(defined('PHPUNIT_RUN') && PHPUNIT_RUN)) {
$v = \OC_App::getAppVersions();
@@ -970,8 +968,6 @@ class Server extends ServerContainer implements IServerContainer {
return new \OC_Defaults();
});
$this->registerService(SCSSCacher::class, function (Server $c) {
- /** @var Factory $cacheFactory */
- $cacheFactory = $c->query(Factory::class);
return new SCSSCacher(
$c->getLogger(),
$c->query(\OC\Files\AppData\Factory::class),
@@ -985,8 +981,6 @@ class Server extends ServerContainer implements IServerContainer {
);
});
$this->registerService(JSCombiner::class, function (Server $c) {
- /** @var Factory $cacheFactory */
- $cacheFactory = $c->query(Factory::class);
return new JSCombiner(
$c->getAppDataDir('js'),
$c->getURLGenerator(),