summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo/app.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-16 12:09:41 +0100
committerJoas Schilling <coding@schilljs.com>2016-11-16 16:45:08 +0100
commitbdaf334c5359b8e80397d5475f763bb826b274c0 (patch)
tree0c22f7d1258b799765c68f5302487eb5870fcae8 /apps/files_sharing/appinfo/app.php
parent81e9836900139d2fda65fa833e735a62e637ab3b (diff)
downloadnextcloud-server-bdaf334c5359b8e80397d5475f763bb826b274c0.tar.gz
nextcloud-server-bdaf334c5359b8e80397d5475f763bb826b274c0.zip
Move file sharing activities to the new API
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/appinfo/app.php')
-rw-r--r--apps/files_sharing/appinfo/app.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index 850c2c05977..4fed51b1194 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -50,14 +50,6 @@ $eventDispatcher->addListener(
// \OCP\Util::addStyle('files_sharing', 'sharetabview');
-\OC::$server->getActivityManager()->registerExtension(function() {
- return new \OCA\Files_Sharing\Activity(
- \OC::$server->query('L10NFactory'),
- \OC::$server->getURLGenerator(),
- \OC::$server->getActivityManager()
- );
-});
-
$config = \OC::$server->getConfig();
if ($config->getAppValue('core', 'shareapi_enabled', 'yes') === 'yes') {