Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-09-28 15:39:12 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2022-09-28 15:39:12 +0300
commite9e6f5fe842fc002225063c2392a2edf99c643a1 (patch)
tree20cbaaea38579ca0139d9e385e2d660b96eeaca5
parent57090849560e8243a2e10efe03b06b0e67e032de (diff)
fix default value for updatedirectory setting
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--lib/private/Repair/MoveUpdaterStepFile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Repair/MoveUpdaterStepFile.php b/lib/private/Repair/MoveUpdaterStepFile.php
index 020510804d7..9731babe4ce 100644
--- a/lib/private/Repair/MoveUpdaterStepFile.php
+++ b/lib/private/Repair/MoveUpdaterStepFile.php
@@ -43,7 +43,7 @@ class MoveUpdaterStepFile implements IRepairStep {
}
public function run(IOutput $output) {
- $updateDir = $this->config->getSystemValue('updatedirectory') ?? $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data');
+ $updateDir = $this->config->getSystemValue('updatedirectory', null) ?? $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data');
$instanceId = $this->config->getSystemValue('instanceid', null);
if (!is_string($instanceId) || empty($instanceId)) {