summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-03-17 14:30:46 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-03-21 08:52:20 +0100
commitdf1468481779e2193ad679a7edf5f87fc575ca38 (patch)
treef6df07c59590ac56aa9008c6a72bfecdd53dd708 /lib/private/AppFramework
parent886202123cdd10aeb94a72cdd02708724e56e3cc (diff)
downloadnextcloud-server-df1468481779e2193ad679a7edf5f87fc575ca38.tar.gz
nextcloud-server-df1468481779e2193ad679a7edf5f87fc575ca38.zip
PoC of moving the interface classes to the servercontainer
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index 429aa66d88a..a6251557f6c 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -82,10 +82,6 @@ class DIContainer extends SimpleContainer implements IAppContainer {
/**
* Core services
*/
- $this->registerService('OCP\\IAppConfig', function($c) {
- return $this->getServer()->getAppConfig();
- });
-
$this->registerService('OCP\\App\\IAppManager', function($c) {
return $this->getServer()->getAppManager();
});
@@ -125,10 +121,6 @@ class DIContainer extends SimpleContainer implements IAppContainer {
return $this->getServer()->getCommentsManager();
});
- $this->registerService('OCP\\IConfig', function($c) {
- return $this->getServer()->getConfig();
- });
-
$this->registerService('OCP\\Contacts\\IManager', function($c) {
return $this->getServer()->getContactsManager();
});