Skip to content
Snippets Groups Projects
Commit b8a48b55 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

make sure all filesystem apps are loaded when setupFS is proceeded, to make...

make sure all filesystem apps are loaded when setupFS is proceeded, to make sure the emmited setup-hook is received. Fixes #89
parent 5b9ba2e0
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,11 @@ class OC_Util { ...@@ -24,6 +24,11 @@ class OC_Util {
$user = OC_User::getUser(); $user = OC_User::getUser();
} }
// load all filesystem apps before, so no setup-hook gets lost
if(!$RUNTIME_NOAPPS) {
OC_App::loadApps(array('filesystem'));
}
// the filesystem will finish when $user is not empty, // the filesystem will finish when $user is not empty,
// mark fs setup here to avoid doing the setup from loading // mark fs setup here to avoid doing the setup from loading
// OC_Filesystem // OC_Filesystem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment