Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-10 10:42:40 +0300
committerJoas Schilling <coding@schilljs.com>2017-05-10 10:42:40 +0300
commitd418ea550ba3e15b4ce1dbe1d0491c158f988b38 (patch)
tree449edc68b369a15f5c455eb5108235631feb8fce /core/Application.php
parent9c8fe8200019c0e6345cd8e73bb2d81742781839 (diff)
Automatic injection for CssController
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/core/Application.php b/core/Application.php
index dad7546dcb8..5a2bc477fee 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -32,9 +32,6 @@ namespace OC\Core;
use OC\Security\IdentityProof\Manager;
use OCP\AppFramework\App;
-use OC\Core\Controller\CssController;
-use OCP\AppFramework\Utility\ITimeFactory;
-use OCP\IRequest;
use OCP\Util;
/**
@@ -58,13 +55,5 @@ class Application extends App {
\OC::$server->getCrypto()
);
});
- $container->registerService(CssController::class, function () use ($container) {
- return new CssController(
- $container->query('appName'),
- $container->query(IRequest::class),
- \OC::$server->getAppDataDir('css'),
- $container->query(ITimeFactory::class)
- );
- });
}
}