aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Command
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-03-05 16:00:47 +0100
committerMorris Jobke <hey@morrisjobke.de>2019-03-05 16:00:47 +0100
commitdd2496b2756633a961424560934a216ab1048e1b (patch)
tree32289e31339b8031061e3bb7db58e0b8ffc673c4 /apps/dav/lib/Command
parent789aaa489d32fb96ce5ac63c9214e783c0a6c26e (diff)
downloadnextcloud-server-dd2496b2756633a961424560934a216ab1048e1b.tar.gz
nextcloud-server-dd2496b2756633a961424560934a216ab1048e1b.zip
Use proper dependency injection for app manager
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav/lib/Command')
-rw-r--r--apps/dav/lib/Command/CreateCalendar.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/Command/CreateCalendar.php b/apps/dav/lib/Command/CreateCalendar.php
index 45dd9ba941a..8e3a4abf8cf 100644
--- a/apps/dav/lib/Command/CreateCalendar.php
+++ b/apps/dav/lib/Command/CreateCalendar.php
@@ -78,7 +78,8 @@ class CreateCalendar extends Command {
$this->groupManager,
\OC::$server->getShareManager(),
\OC::$server->getUserSession(),
- \OC::$server->getConfig()
+ \OC::$server->getConfig(),
+ \OC::$server->getAppManager()
);
$random = \OC::$server->getSecureRandom();
$logger = \OC::$server->getLogger();