Adding php pear db tests
[squirrelmail.git] / src / empty_trash.php
index 8f2c322ffe8eb95a00e7b06024a79fde1a98ee1e..b0318f409a5b548c2b266ebf269eaee521a372a0 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * empty_trash.php
  *
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
+ * Copyright (c) 1999-2004 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Handles deleting messages from the trash folder without
@@ -67,10 +67,7 @@ for ($i = 0; $i < $numboxes; $i++) {
 walkTreeInPreOrderEmptyTrash(0, $imap_stream, $foldersTree);
 
 $location = get_location();
-if (isset($use_frames) && !$use_frames)
-    header ("Location: $location/right_main.php");
-else
-    header ("Location: $location/left_main.php");
+header ("Location: $location/left_main.php");
 
 sqimap_logout($imap_stream);
 ?>