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:
Arthur Schiwon 2012-10-28 13:47:53 +01:00
parent 5b9ba2e033
commit b8a48b55a3
1 changed files with 5 additions and 0 deletions

View File

@ -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