Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
c1770d74
Commit
c1770d74
authored
Jun 20, 2016
by
Vincent Petry
Committed by
GitHub
Jun 20, 2016
Browse files
Merge pull request #25159 from owncloud/share-app-initorder
Delay files_sharing's registerMountProviders
parents
2951a70f
a13caa0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files_sharing/appinfo/app.php
View file @
c1770d74
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment