Fix for moving last message in a folder.
authorebullient <ebullient@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 5 Mar 2004 18:47:14 +0000 (18:47 +0000)
committerebullient <ebullient@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 5 Mar 2004 18:47:14 +0000 (18:47 +0000)
commitb2811304a7a54da99a8b8d34e930ae995aad5ce5
treea660a89a638d08a327d8ae5f5e1c94ec016bb13e
parentd1db36995c0ac4bac16603c74ef5069b4901847f
Fix for moving last message in a folder.
Rather than change how messages are indexed, this
confines changes to read_body ...

move_messages.php is used to move the last message in the index.
This is the same function that is used when moving messages from the
list index.

If there is a "next" message, read_body deletes the message itself..
(theoretically, we could use move_messages here, too, and just change
the resulting location.... will have to think about that.. )

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6749 7612ce4b-ef26-0410-bec9-ea0150e637f0
src/read_body.php