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:41:33 +0300
committerJoas Schilling <coding@schilljs.com>2017-05-10 10:42:15 +0300
commit9c8fe8200019c0e6345cd8e73bb2d81742781839 (patch)
treee119c8dc2f608485c8bf831852da1cb3dc5aa2ef /core/Application.php
parent209b05489d442652fa4d7ce3a7b37568444b5ae4 (diff)
Automatic injection for JsController
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/Application.php b/core/Application.php
index 6fa301e5906..dad7546dcb8 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -30,7 +30,6 @@
namespace OC\Core;
-use OC\Core\Controller\JsController;
use OC\Security\IdentityProof\Manager;
use OCP\AppFramework\App;
use OC\Core\Controller\CssController;
@@ -67,13 +66,5 @@ class Application extends App {
$container->query(ITimeFactory::class)
);
});
- $container->registerService(JsController::class, function () use ($container) {
- return new JsController(
- $container->query('AppName'),
- $container->query(IRequest::class),
- $container->getServer()->getAppDataDir('js'),
- $container->query(ITimeFactory::class)
- );
- });
}
}