2/28/2003
>Author: robert
>Fix for squirrelmail 1.2.11 IMAP folder deletion problems
>and folder truncation names during folder deletion problem.
>using redhat 8.0
> or
>caldera 3.1.1.
>using dbmail 1.1
>squirrelmail 1.2.11
>
>########################################################33
>
>../functions/tree.php line 107
>changed from
>
>$position = strrpos($topFolderName, $delimiter) + 1;
>
>to
>
>$position = strrpos($topFolderName, $delimiter) + 0;//or remove 0 all the
way
>
>##########################################################
>fix for unsubscribe error during deletion of folders is
>
> ../functions/imap_mail_box.php line 183
>
> sqimap_unsubscribe ($imap_stream, $mailbox);
>
>to
>
>the line 183 being deleted.
>
>reason: deletes then unsubscribe, it shouldn't unsubscribe after
>the folder is already deleted!
>
>#############################################################
>fix for rename unsubscribe problems
>
>delete line 213 of ../functions/imap_mail_box.php
>
>reason: renames a folder then unsubscribe using old name, you can't because
>old name is gone.
>
>done.