From b96506beca1b369041a88e2b955a2ddf15e83fea Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Wed, 1 Nov 2023 20:29:37 +0100 Subject: [PATCH] fix wrongly named variable Signed-off-by: CaCO3 --- index.php | 2 +- lib/Updater.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 62a58896..be31cd07 100644 --- a/index.php +++ b/index.php @@ -1064,7 +1064,7 @@ public function finalize(): void { $this->moveWithExclusions($storageLocation, []); $state = rmdir($storageLocation); if ($state === false) { - throw new \Exception('Could not rmdir ' . $storagelocation); + throw new \Exception('Could not rmdir ' . $storageLocation); } $state = unlink($this->getUpdateDirectoryLocation() . '/updater-'.$this->getConfigOptionMandatoryString('instanceid') . '/.step'); diff --git a/lib/Updater.php b/lib/Updater.php index cc8d3d93..4adc6820 100644 --- a/lib/Updater.php +++ b/lib/Updater.php @@ -1026,7 +1026,7 @@ public function finalize(): void { $this->moveWithExclusions($storageLocation, []); $state = rmdir($storageLocation); if ($state === false) { - throw new \Exception('Could not rmdir ' . $storagelocation); + throw new \Exception('Could not rmdir ' . $storageLocation); } $state = unlink($this->getUpdateDirectoryLocation() . '/updater-'.$this->getConfigOptionMandatoryString('instanceid') . '/.step');