make sure all filesystem apps are loaded when setupFS is proceeded, to make sure the emmited setup-hook is received. Fixes #89
This commit is contained in:
parent
5b9ba2e033
commit
b8a48b55a3
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,11 @@ class OC_Util {
|
|||
$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,
|
||||
// mark fs setup here to avoid doing the setup from loading
|
||||
// OC_Filesystem
|
||||
|
|
Loading…
Reference in a new issue