diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-02-09 18:15:53 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-02-13 11:16:43 +0100 |
commit | 9ccfbc14f68959d96b6a88bfa59f600183f4abf1 (patch) | |
tree | 7659a24ec78544d206b7f9388db6ec40942f40e7 /apps/files_sharing/appinfo | |
parent | 0d8b3afc32f15b1582bbf555796b9d112a91a4ef (diff) | |
download | nextcloud-server-9ccfbc14f68959d96b6a88bfa59f600183f4abf1.tar.gz nextcloud-server-9ccfbc14f68959d96b6a88bfa59f600183f4abf1.zip |
Copy sharing related activity code to Files_Sharing activity extension
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/app.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index 837ceacbab3..8989f8cef2a 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -28,7 +28,10 @@ OCP\Util::addScript('files_sharing', 'external'); OC_FileProxy::register(new OCA\Files\Share\Proxy()); \OC::$server->getActivityManager()->registerExtension(function() { - return new \OCA\Files_Sharing\Activity(); + return new \OCA\Files_Sharing\Activity( + \OC::$server->query('L10NFactory'), + \OC::$server->getURLGenerator() + ); }); $config = \OC::$server->getConfig(); |