diff options
Diffstat (limited to 'apps/files_sharing/lib/AppInfo/Application.php')
-rw-r--r-- | apps/files_sharing/lib/AppInfo/Application.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php index 357860e8fa0..29cdf702a51 100644 --- a/apps/files_sharing/lib/AppInfo/Application.php +++ b/apps/files_sharing/lib/AppInfo/Application.php @@ -28,7 +28,6 @@ namespace OCA\Files_Sharing\AppInfo; use OCA\FederatedFileSharing\DiscoveryManager; -use OCA\Files_Sharing\API\Share20OCS; use OCA\Files_Sharing\Middleware\OCSShareAPIMiddleware; use OCA\Files_Sharing\MountProvider; use OCP\AppFramework\App; @@ -78,19 +77,6 @@ class Application extends App { $c->query('HttpClientService') ); }); - $container->registerService('ShareAPIController', function (SimpleContainer $c) use ($server) { - return new Share20OCS( - $c->query('AppName'), - $c->query('Request'), - $server->getShareManager(), - $server->getGroupManager(), - $server->getUserManager(), - $server->getRootFolder(), - $server->getURLGenerator(), - $server->getUserSession()->getUser(), - $server->getL10N($c->query('AppName')) - ); - }); /** * Core class wrappers |