Skip to content

Commit

Permalink
fix wrongly named variable
Browse files Browse the repository at this point in the history
Signed-off-by: CaCO3 <[email protected]>
  • Loading branch information
CaCO3 committed Nov 1, 2023
1 parent 65c2068 commit b96506b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion lib/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit b96506b

Please sign in to comment.