浏览代码

added debug info to track emptying of trash bug on Shane's
system

nehresma 25 年之前
父节点
当前提交
3469aca363
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/empty_trash.php

+ 2 - 0
src/empty_trash.php

@@ -20,6 +20,8 @@
       for ($i = 0; $i < count($boxes); $i++) {
          if (($boxes[$i]["UNFORMATTED"] == $mailbox) ||
              (substr($boxes[$i]["UNFORMATTED"], 0, strlen($mailbox . $dm)) == $mailbox . $dm)) {
+            echo "\nDEBUG - Removing folder " . $boxes[$i]["UNFORMATTED"] . "<BR>\n";
+            echo "DEBUG - mailbox is : $mailbox<br>\n";
             removeFolder($imapConnection, $boxes[$i]["UNFORMATTED"]);
          }
       }