summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/app.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-02-13 13:37:10 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-02-13 13:37:10 +0100
commitd20a8fae453bbbf0d254f7af14d5f65681417629 (patch)
treef323783123642eb5f24c2e17bb8934214cbefa35 /apps/files/appinfo/app.php
parent6b1ed4d688eae09452c1c52a31c5887444ea81ca (diff)
downloadnextcloud-server-d20a8fae453bbbf0d254f7af14d5f65681417629.tar.gz
nextcloud-server-d20a8fae453bbbf0d254f7af14d5f65681417629.zip
Move displaying of files related activities to files app
Diffstat (limited to 'apps/files/appinfo/app.php')
-rw-r--r--apps/files/appinfo/app.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php
index 62c205add52..87791e2558e 100644
--- a/apps/files/appinfo/app.php
+++ b/apps/files/appinfo/app.php
@@ -27,3 +27,10 @@ $templateManager->registerTemplate('application/vnd.oasis.opendocument.spreadshe
"name" => $l->t('All files')
)
);
+
+\OC::$server->getActivityManager()->registerExtension(function() {
+ return new \OCA\Files\Activity(
+ \OC::$server->query('L10NFactory'),
+ \OC::$server->getURLGenerator()
+ );
+});