From a3f96828b6c268ef2d971f8a9172928dd7961c1c Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Wed, 23 Jun 2010 12:38:47 +1000 Subject: [PATCH] Changed first pass --- vendors/shells/firstpass.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vendors/shells/firstpass.php b/vendors/shells/firstpass.php index da60fd75..23ea2fb0 100644 --- a/vendors/shells/firstpass.php +++ b/vendors/shells/firstpass.php @@ -72,8 +72,8 @@ class FirstpassShell extends Shell { if($enqID == false) { echo "Deleting msg number: $i\tSubject: ".$message['subject']."\n"; - //imap_delete($mbox, $i); - $discardArray[] = $i; + imap_delete($mbox, $i); + //$discardArray[] = $i; } @@ -83,14 +83,14 @@ class FirstpassShell extends Shell { echo "Tidying up now.\n"; - reset($discardArray); + // reset($discardArray); - $numberToDiscard= count($discardArray); + // $numberToDiscard= count($discardArray); - if($numberToDiscard > 0) { + /* if($numberToDiscard > 0) { echo "Going to discard $numberToDiscard messages\n"; @@ -105,7 +105,7 @@ class FirstpassShell extends Shell { else { echo "Success"; } - } + }*/