diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-09-28 16:51:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 16:51:37 +0300 |
commit | f6f0195a3f6643db871f9b857de5e6864a800863 (patch) | |
tree | 6b0042f816ae07e90a94b1efe0fd4d526fda428e /lib/private | |
parent | 20b75480d0cbeb004b244bd3777d703821adeb1d (diff) | |
parent | e9e6f5fe842fc002225063c2392a2edf99c643a1 (diff) |
Merge pull request #34306 from nextcloud/fix/noid/step-file-not-moved
fix default value for updatedirectory setting
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Repair/MoveUpdaterStepFile.php | 2 |
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)) { |