Register the namespace after reading the new file

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-01-13 15:12:04 +01:00 committed by Backportbot
parent 3085e2e8b2
commit 5750612ca2

View file

@ -900,10 +900,11 @@ class OC_App {
if($appPath === false) {
return false;
}
self::registerAutoloading($appId, $appPath);
\OC::$server->getAppManager()->clearAppsCache();
$appData = self::getAppInfo($appId);
self::registerAutoloading($appId, $appPath);
self::executeRepairSteps($appId, $appData['repair-steps']['pre-migration']);
if (file_exists($appPath . '/appinfo/database.xml')) {