summaryrefslogtreecommitdiffstats
path: root/lib/private/App/InfoParser.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-26 11:56:56 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-26 11:56:56 +0200
commit2ee7d2485cbcbd3617b3adcbf2e5925b0c6598c3 (patch)
treec9aeecc783d4920620e01a111e03a0af7a538b91 /lib/private/App/InfoParser.php
parent6d62a74d7ec3ff1d761a42e8a0adcf551bc22f85 (diff)
downloadnextcloud-server-2ee7d2485cbcbd3617b3adcbf2e5925b0c6598c3.tar.gz
nextcloud-server-2ee7d2485cbcbd3617b3adcbf2e5925b0c6598c3.zip
Introduce background repair steps
Diffstat (limited to 'lib/private/App/InfoParser.php')
-rw-r--r--lib/private/App/InfoParser.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/App/InfoParser.php b/lib/private/App/InfoParser.php
index e763364e148..b7540c04248 100644
--- a/lib/private/App/InfoParser.php
+++ b/lib/private/App/InfoParser.php
@@ -80,6 +80,9 @@ class InfoParser {
if (!array_key_exists('post-migration', $array['repair-steps'])) {
$array['repair-steps']['post-migration'] = [];
}
+ if (!array_key_exists('live-migration', $array['repair-steps'])) {
+ $array['repair-steps']['live-migration'] = [];
+ }
if (array_key_exists('documentation', $array) && is_array($array['documentation'])) {
foreach ($array['documentation'] as $key => $url) {
@@ -110,6 +113,9 @@ class InfoParser {
if (isset($array['repair-steps']['post-migration']['step']) && is_array($array['repair-steps']['post-migration']['step'])) {
$array['repair-steps']['post-migration'] = $array['repair-steps']['post-migration']['step'];
}
+ if (isset($array['repair-steps']['live-migration']['step']) && is_array($array['repair-steps']['live-migration']['step'])) {
+ $array['repair-steps']['live-migration'] = $array['repair-steps']['live-migration']['step'];
+ }
return $array;
}