summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-17 12:49:38 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-17 12:49:38 +0100
commit74ce6d29e1dc2638911e52c2486e55b64538d6d8 (patch)
tree58b1deb22bb8356d2853cca9c19aa9c4a1d7e0c9 /lib
parent705d208a8aba55cdb509380db19a0b4e2413d1eb (diff)
parentdaa388ce8d8ea653d3cae2e016cabd266d19d674 (diff)
downloadnextcloud-server-74ce6d29e1dc2638911e52c2486e55b64538d6d8.tar.gz
nextcloud-server-74ce6d29e1dc2638911e52c2486e55b64538d6d8.zip
Merge pull request #20544 from owncloud/move-index-to-appframework
Move index.php from files to AppFramework
Diffstat (limited to 'lib')
-rw-r--r--lib/private/appframework/dependencyinjection/dicontainer.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/appframework/dependencyinjection/dicontainer.php b/lib/private/appframework/dependencyinjection/dicontainer.php
index b0be4045541..a32d32fefc5 100644
--- a/lib/private/appframework/dependencyinjection/dicontainer.php
+++ b/lib/private/appframework/dependencyinjection/dicontainer.php
@@ -226,6 +226,10 @@ class DIContainer extends SimpleContainer implements IAppContainer {
return $this->getServer();
});
+ $this->registerService('Symfony\Component\EventDispatcher\EventDispatcherInterface', function ($c) {
+ return $this->getServer()->getEventDispatcher();
+ });
+
$this->registerService('OCP\\AppFramework\\IAppContainer', function ($c) {
return $c;
});