Merge pull request #15157 from nextcloud/backport/15153/stable16

[stable16] Load apps before running repair steps
This commit is contained in:
Morris Jobke 2019-04-18 18:38:13 +02:00 committed by GitHub
commit 2536b1b983
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,6 +96,7 @@ class Repair extends Command {
if (!is_array($info)) { if (!is_array($info)) {
continue; continue;
} }
\OC_App::loadApp($app);
$steps = $info['repair-steps']['post-migration']; $steps = $info['repair-steps']['post-migration'];
foreach ($steps as $step) { foreach ($steps as $step) {
try { try {