Register autoloading before running migrations

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2017-07-07 12:01:11 +02:00
parent 0f275b1550
commit 79d7c26b8a
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 1 additions and 1 deletions

View File

@ -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']);