diff options
author | Joas Schilling <coding@schilljs.com> | 2017-05-10 09:42:40 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-05-10 09:42:40 +0200 |
commit | d418ea550ba3e15b4ce1dbe1d0491c158f988b38 (patch) | |
tree | 449edc68b369a15f5c455eb5108235631feb8fce /core/Application.php | |
parent | 9c8fe8200019c0e6345cd8e73bb2d81742781839 (diff) | |
download | nextcloud-server-d418ea550ba3e15b4ce1dbe1d0491c158f988b38.tar.gz nextcloud-server-d418ea550ba3e15b4ce1dbe1d0491c158f988b38.zip |
Automatic injection for CssController
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Application.php')
-rw-r--r-- | core/Application.php | 11 |
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) - ); - }); } } |