diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-17 12:49:38 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-17 12:49:38 +0100 |
commit | 74ce6d29e1dc2638911e52c2486e55b64538d6d8 (patch) | |
tree | 58b1deb22bb8356d2853cca9c19aa9c4a1d7e0c9 /lib | |
parent | 705d208a8aba55cdb509380db19a0b4e2413d1eb (diff) | |
parent | daa388ce8d8ea653d3cae2e016cabd266d19d674 (diff) | |
download | nextcloud-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.php | 4 |
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; }); |