don't issue imap commands when target mailbox is same as source mailbox.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 22 Jan 2006 12:08:33 +0000 (12:08 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 22 Jan 2006 12:08:33 +0000 (12:08 +0000)
commit821651ff0516e15a35d63227b625a4fd811eaf0b
tree556ab40a4e42ba7a1b1512678da84219083d007b
parent6464073d27a503f2fe0f4b33fcc466b1b134193f
don't issue imap commands when target mailbox is same as source mailbox.
reduces number of imap calls and fixes mailbox caching issues (message is
not visible on message list until cache is updated).
might fix imap server locking on MacOS cyrus (#1409453).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10555 7612ce4b-ef26-0410-bec9-ea0150e637f0
functions/imap_messages.php
functions/mailbox_display.php