summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo/app.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-11-24 15:31:52 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2014-12-04 13:18:13 +0100
commit698ecbf308d1eae950138bff9edbb0d542c391d0 (patch)
tree3f6ab525053f56c01f2fcef4792a9756f882ab7d /apps/files_sharing/appinfo/app.php
parentf0e6876f2ec8ec4576ca0ce8bbfee5bd8082dc1f (diff)
downloadnextcloud-server-698ecbf308d1eae950138bff9edbb0d542c391d0.tar.gz
nextcloud-server-698ecbf308d1eae950138bff9edbb0d542c391d0.zip
OCS API for server-to-server sharing
Diffstat (limited to 'apps/files_sharing/appinfo/app.php')
-rw-r--r--apps/files_sharing/appinfo/app.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index a01f8d98c7d..329afa07519 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -8,7 +8,6 @@ OC::$CLASSPATH['OC\Files\Cache\Shared_Cache'] = 'files_sharing/lib/cache.php';
OC::$CLASSPATH['OC\Files\Cache\Shared_Permissions'] = 'files_sharing/lib/permissions.php';
OC::$CLASSPATH['OC\Files\Cache\Shared_Updater'] = 'files_sharing/lib/updater.php';
OC::$CLASSPATH['OC\Files\Cache\Shared_Watcher'] = 'files_sharing/lib/watcher.php';
-OC::$CLASSPATH['OCA\Files\Share\Api'] = 'files_sharing/lib/api.php';
OC::$CLASSPATH['OCA\Files\Share\Maintainer'] = 'files_sharing/lib/maintainer.php';
OC::$CLASSPATH['OCA\Files\Share\Proxy'] = 'files_sharing/lib/proxy.php';
@@ -28,6 +27,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();
+});
+
$config = \OC::$server->getConfig();
if ($config->getAppValue('core', 'shareapi_enabled', 'yes') === 'yes') {