Commit 579daf27 authored by mku's avatar mku

ZP-229 #comment Merge contribution - GetWasteBasket in combined backend - rev 1393 #time 15m

git-svn-id: https://z-push.org/svn/z-push/trunk@1454 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 7f66814d
......@@ -509,7 +509,7 @@ class BackendIMAP extends BackendDiff {
//try to get the waste basket without doing complete hierarchy sync
$wastebaskt = @imap_getmailboxes($this->mbox, $this->server, "Trash");
if (isset($wastebaskt[0])) {
$this->wasteID = imap_utf7_decode(substr($wastebaskt[0]->name, strlen($this->server)));
$this->wasteID = $this->convertImapId(substr($wastebaskt[0]->name, strlen($this->server)));
return $this->wasteID;
}
//try get waste id from hierarchy if it wasn't possible with above for some reason
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment