aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-03-30 17:21:06 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-03-30 17:21:06 +0200
commit9233d32834d07f8bb55d8efb3436d70e66014cb5 (patch)
tree0da663b2658504a383cc5cfaaef141098421f284 /apps/files/appinfo
parente365ea7ec55ca50cf133cc6bf64adb475a6303bf (diff)
downloadnextcloud-server-9233d32834d07f8bb55d8efb3436d70e66014cb5.tar.gz
nextcloud-server-9233d32834d07f8bb55d8efb3436d70e66014cb5.zip
Move tag related code into a helper so we can test the query without a view
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/app.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php
index 578c1a52e80..c483ad31ec5 100644
--- a/apps/files/appinfo/app.php
+++ b/apps/files/appinfo/app.php
@@ -61,7 +61,9 @@ $templateManager->registerTemplate('application/vnd.oasis.opendocument.spreadshe
\OC::$server->query('L10NFactory'),
\OC::$server->getURLGenerator(),
\OC::$server->getActivityManager(),
- \OC::$server->getTagManager(),
+ new \OCA\Files\ActivityHelper(
+ \OC::$server->getTagManager()
+ ),
\OC::$server->getConfig()
);
});