Fix getUpdateStepFileLocation return type and call
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
def1fda417
commit
15136da979
|
@ -1130,7 +1130,7 @@ EOF;
|
|||
return $jsonData;
|
||||
}
|
||||
|
||||
public function getUpdateStepFileLocation() {
|
||||
public function getUpdateStepFileLocation(): string {
|
||||
$updaterDir = $this->getUpdateDirectoryLocation() . '/updater-'.$this->getConfigOption('instanceid');
|
||||
return $updaterDir . '/.step';
|
||||
}
|
||||
|
@ -1307,7 +1307,7 @@ if ($currentStep !== []) {
|
|||
sprintf(
|
||||
'Step %d is currently in process. Please reload this page later or remove the following file to start from scratch: %s',
|
||||
$stepNumber,
|
||||
$this->updater->getUpdateStepFileLocation()
|
||||
$updater->getUpdateStepFileLocation()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -95,7 +95,7 @@ if ($currentStep !== []) {
|
|||
sprintf(
|
||||
'Step %d is currently in process. Please reload this page later or remove the following file to start from scratch: %s',
|
||||
$stepNumber,
|
||||
$this->updater->getUpdateStepFileLocation()
|
||||
$updater->getUpdateStepFileLocation()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1092,7 +1092,7 @@ EOF;
|
|||
return $jsonData;
|
||||
}
|
||||
|
||||
public function getUpdateStepFileLocation() {
|
||||
public function getUpdateStepFileLocation(): string {
|
||||
$updaterDir = $this->getUpdateDirectoryLocation() . '/updater-'.$this->getConfigOption('instanceid');
|
||||
return $updaterDir . '/.step';
|
||||
}
|
||||
|
|
BIN
updater.phar
BIN
updater.phar
Binary file not shown.
Loading…
Reference in New Issue