summaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2016-05-04 11:03:40 +0200
committerBjörn Schießle <schiessle@owncloud.com>2016-05-20 21:15:08 +0200
commit5a1641bed23182a35cfbdcdb526b3c41260a7c0f (patch)
tree54fc6639bb68f8d1ee7281e3592613cb68a49a85 /ocs
parent59a85a4c76b80658d9373e3acf4f71b872b244a0 (diff)
downloadnextcloud-server-5a1641bed23182a35cfbdcdb526b3c41260a7c0f.tar.gz
nextcloud-server-5a1641bed23182a35cfbdcdb526b3c41260a7c0f.zip
move request handler for federated shares to the federated sharing app
Diffstat (limited to 'ocs')
-rw-r--r--ocs/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocs/routes.php b/ocs/routes.php
index af9c3e74137..24af2460881 100644
--- a/ocs/routes.php
+++ b/ocs/routes.php
@@ -100,7 +100,7 @@ API::register(
// Server-to-Server Sharing
if (\OC::$server->getAppManager()->isEnabledForUser('files_sharing')) {
$federatedSharingApp = new \OCA\FederatedFileSharing\AppInfo\Application('federatedfilesharing');
- $s2s = new \OCA\Files_Sharing\API\Server2Server($federatedSharingApp->getFederatedShareProvider());
+ $s2s = new OCA\FederatedFileSharing\RequestHandler($federatedSharingApp->getFederatedShareProvider());
API::register('post',
'/cloud/shares',
array($s2s, 'createShare'),