diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-20 13:31:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-20 13:31:36 +0200 |
commit | c1770d746da8f5fbf33d4a44b1991344814fe759 (patch) | |
tree | ba8a3caae5c0429080dc1a39a93e604f5e489022 /apps | |
parent | 2951a70fcba24417e2873e0fe00696ed185ecf8a (diff) | |
parent | a13caa0ea2f257faac5cabc19c38240418ab8043 (diff) | |
download | nextcloud-server-c1770d746da8f5fbf33d4a44b1991344814fe759.tar.gz nextcloud-server-c1770d746da8f5fbf33d4a44b1991344814fe759.zip |
Merge pull request #25159 from owncloud/share-app-initorder
Delay files_sharing's registerMountProviders
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/appinfo/app.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index 5740574ec4c..c6ae6903eec 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -32,14 +32,14 @@ $l = \OC::$server->getL10N('files_sharing'); \OC::$CLASSPATH['OC_Share_Backend_Folder'] = 'files_sharing/lib/share/folder.php'; \OC::$CLASSPATH['OC\Files\Storage\Shared'] = 'files_sharing/lib/sharedstorage.php'; -$application = new \OCA\Files_Sharing\AppInfo\Application(); -$application->registerMountProviders(); - \OCA\Files_Sharing\Helper::registerHooks(); \OCP\Share::registerBackend('file', 'OC_Share_Backend_File'); \OCP\Share::registerBackend('folder', 'OC_Share_Backend_Folder', 'file'); +$application = new \OCA\Files_Sharing\AppInfo\Application(); +$application->registerMountProviders(); + $eventDispatcher = \OC::$server->getEventDispatcher(); $eventDispatcher->addListener( 'OCA\Files::loadAdditionalScripts', |