diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-05 18:00:47 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-03-05 18:00:47 +0300 |
commit | dd2496b2756633a961424560934a216ab1048e1b (patch) | |
tree | 32289e31339b8031061e3bb7db58e0b8ffc673c4 /apps/dav/appinfo/v1 | |
parent | 789aaa489d32fb96ce5ac63c9214e783c0a6c26e (diff) |
Use proper dependency injection for app manager
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav/appinfo/v1')
-rw-r--r-- | apps/dav/appinfo/v1/caldav.php | 1 | ||||
-rw-r--r-- | apps/dav/appinfo/v1/carddav.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php index ecc4fbb8b60..c2634a595a3 100644 --- a/apps/dav/appinfo/v1/caldav.php +++ b/apps/dav/appinfo/v1/caldav.php @@ -47,6 +47,7 @@ $principalBackend = new Principal( \OC::$server->getShareManager(), \OC::$server->getUserSession(), \OC::$server->getConfig(), + \OC::$server->getAppManager(), 'principals/' ); $db = \OC::$server->getDatabaseConnection(); diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php index a424d7afab9..60669df60ba 100644 --- a/apps/dav/appinfo/v1/carddav.php +++ b/apps/dav/appinfo/v1/carddav.php @@ -48,6 +48,7 @@ $principalBackend = new Principal( \OC::$server->getShareManager(), \OC::$server->getUserSession(), \OC::$server->getConfig(), + \OC::$server->getAppManager(), 'principals/' ); $db = \OC::$server->getDatabaseConnection(); |