Register autoloading before running migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
0f275b1550
commit
79d7c26b8a
1 changed files with 1 additions and 1 deletions
|
@ -131,6 +131,7 @@ class Installer {
|
|||
|
||||
// check for required dependencies
|
||||
\OC_App::checkAppDependencies($this->config, $l, $info);
|
||||
\OC_App::registerAutoloading($appId, $basedir);
|
||||
|
||||
//install the database
|
||||
if(is_file($basedir.'/appinfo/database.xml')) {
|
||||
|
@ -144,7 +145,6 @@ class Installer {
|
|||
$ms->migrate();
|
||||
}
|
||||
|
||||
\OC_App::registerAutoloading($appId, $basedir);
|
||||
\OC_App::setupBackgroundJobs($info['background-jobs']);
|
||||
if(isset($info['settings']) && is_array($info['settings'])) {
|
||||
\OC::$server->getSettingsManager()->setupSettings($info['settings']);
|
||||
|
|
Loading…
Reference in a new issue