summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-01 12:49:41 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-05 14:13:41 +0200
commitf37fa6e45c4357ce9849543fa91551a62f3828b8 (patch)
tree0d2c79bc1d252d43770e839248c6d9b8bc312489 /apps/files_sharing/appinfo
parent84e6b8d9d05f7e481276090101ddf77f1ab3cfdf (diff)
downloadnextcloud-server-f37fa6e45c4357ce9849543fa91551a62f3828b8.tar.gz
nextcloud-server-f37fa6e45c4357ce9849543fa91551a62f3828b8.zip
Move Share backends to PSR-4 instead of using class path (#24941)
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/app.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index 2df7f099838..11c4614d6c5 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -28,14 +28,12 @@
$l = \OC::$server->getL10N('files_sharing');
-\OC::$CLASSPATH['OC_Share_Backend_File'] = 'files_sharing/lib/share/file.php';
-\OC::$CLASSPATH['OC_Share_Backend_Folder'] = 'files_sharing/lib/share/folder.php';
\OC::$CLASSPATH['OC\Files\Storage\Shared'] = 'files_sharing/lib/sharedstorage.php';
\OCA\Files_Sharing\Helper::registerHooks();
-\OCP\Share::registerBackend('file', 'OC_Share_Backend_File');
-\OCP\Share::registerBackend('folder', 'OC_Share_Backend_Folder', 'file');
+\OCP\Share::registerBackend('file', 'OCA\Files_Sharing\ShareBackend\File');
+\OCP\Share::registerBackend('folder', 'OCA\Files_Sharing\ShareBackend\Folder', 'file');
$application = new \OCA\Files_Sharing\AppInfo\Application();
$application->registerMountProviders();