From cc27bb5e8c9a650a8454dbc82d0959f87fd85e37 Mon Sep 17 00:00:00 2001
From: Angie Byron <webchick@24967.no-reply.drupal.org>
Date: Wed, 29 Dec 2010 04:01:40 +0000
Subject: [PATCH] #977450 by hass: Fix typo in variable namein
 ArchiverZip->remove().

---
 modules/system/system.archiver.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/system/system.archiver.inc b/modules/system/system.archiver.inc
index 9972bfc22da9..cd9c9f48c445 100644
--- a/modules/system/system.archiver.inc
+++ b/modules/system/system.archiver.inc
@@ -28,7 +28,7 @@ public function add($file_path) {
     return $this;
   }
 
-  public function remove($path) {
+  public function remove($file_path) {
     // @todo Archive_Tar doesn't have a remove operation
     // so we'll have to simulate it somehow, probably by
     // creating a new archive with everything but the removed
@@ -99,7 +99,7 @@ public function add($file_path) {
     return $this;
   }
 
-  public function remove($path) {
+  public function remove($file_path) {
     $this->zip->deleteName($file_path);
 
     return $this;
-- 
GitLab