mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 07:35:13 -04:00
Merge pull request #34310 from nextcloud/backport/34306/stable25
[stable25] fix default value for updatedirectory setting
This commit is contained in:
commit
1f27bd153b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue