Register the namespace after reading the new file
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
3085e2e8b2
commit
5750612ca2
1 changed files with 2 additions and 1 deletions
|
@ -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')) {
|
||||
|
|
Loading…
Reference in a new issue