Skip to content
Snippets Groups Projects
Commit cc27bb5e authored by Angie Byron's avatar Angie Byron
Browse files

#977450 by hass: Fix typo in variable namein ArchiverZip->remove().

parent 2ec8e339
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -28,7 +28,7 @@ public function add($file_path) { ...@@ -28,7 +28,7 @@ public function add($file_path) {
return $this; return $this;
} }
public function remove($path) { public function remove($file_path) {
// @todo Archive_Tar doesn't have a remove operation // @todo Archive_Tar doesn't have a remove operation
// so we'll have to simulate it somehow, probably by // so we'll have to simulate it somehow, probably by
// creating a new archive with everything but the removed // creating a new archive with everything but the removed
...@@ -99,7 +99,7 @@ public function add($file_path) { ...@@ -99,7 +99,7 @@ public function add($file_path) {
return $this; return $this;
} }
public function remove($path) { public function remove($file_path) {
$this->zip->deleteName($file_path); $this->zip->deleteName($file_path);
return $this; return $this;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment