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"; } - } + }*/