aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/app.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-03-25 18:21:30 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-03-30 15:23:10 +0200
commite365ea7ec55ca50cf133cc6bf64adb475a6303bf (patch)
tree10062018160d01a03d984b99dd1a9d770e84c988 /apps/files/appinfo/app.php
parentdd535968e822c21084ecb4f118b3dc4f572bf330 (diff)
downloadnextcloud-server-e365ea7ec55ca50cf133cc6bf64adb475a6303bf.tar.gz
nextcloud-server-e365ea7ec55ca50cf133cc6bf64adb475a6303bf.zip
Use DI for the objects where possible
Diffstat (limited to 'apps/files/appinfo/app.php')
-rw-r--r--apps/files/appinfo/app.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php
index e4cac7c7c14..578c1a52e80 100644
--- a/apps/files/appinfo/app.php
+++ b/apps/files/appinfo/app.php
@@ -59,6 +59,9 @@ $templateManager->registerTemplate('application/vnd.oasis.opendocument.spreadshe
\OC::$server->getActivityManager()->registerExtension(function() {
return new \OCA\Files\Activity(
\OC::$server->query('L10NFactory'),
- \OC::$server->getURLGenerator()
+ \OC::$server->getURLGenerator(),
+ \OC::$server->getActivityManager(),
+ \OC::$server->getTagManager(),
+ \OC::$server->getConfig()
);
});