From 2f468652efe6c84840c5da3aa962823b3f7f7c1c Mon Sep 17 00:00:00 2001
From: Robert Sesek <rsesek@bluestatic.org>
Date: Sat, 6 Sep 2008 11:37:28 -0400
Subject: [PATCH] Change API->delete() to remove()

---
 attachment.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/attachment.php b/attachment.php
index c96972a..8bdf345 100755
--- a/attachment.php
+++ b/attachment.php
@@ -212,7 +212,7 @@ if ($_POST['do'] == 'update')
 			$message->errorPermission();
 		}
 		
-		$attachapi->delete();
+		$attachapi->remove();
 		
 		$message->redirect(T('The attachment was successfully deleted.'), "showreport.php?bugid=$bug[bugid]");
 	}
-- 
2.43.5