Browse Source

Register the namespace after reading the new file

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/18862/head
Joas Schilling 6 years ago
parent
commit
efcf246f07
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 3
      lib/private/legacy/app.php

3
lib/private/legacy/app.php

@ -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…
Cancel
Save