X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Ftree.php;h=44a99e848329b3ad073f30c2ec2cc6fa136d804f;hb=a9a7cda1e186f13501bd2d59a28c0763f16f2f96;hp=7850c8cb5ad05c98752d84705b8ff16208dd4030;hpb=a51932f2154c86957417828efb811a24d3033f70;p=squirrelmail.git diff --git a/functions/tree.php b/functions/tree.php index 7850c8cb..44a99e84 100644 --- a/functions/tree.php +++ b/functions/tree.php @@ -3,12 +3,11 @@ /** * tree.php * - * Copyright (c) 1999-2005 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * * This file provides functions to walk trees of folders, for * instance to delete a whole tree. * + * @copyright © 1999-2005 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail */ @@ -159,6 +158,7 @@ function walkTreeInPostOrderCreatingFoldersUnderTrash($index, $imap_stream, $tre $mbx_response = sqimap_mailbox_select($imap_stream, $tree[$index]['value']); $messageCount = $mbx_response['EXISTS']; if ($messageCount > 0) { + // FIXME: broken call sqimap_messages_copy($imap_stream, 1, '*', $trash_folder . $delimiter . $subFolderName); } // after copy close the mailbox to get in unselected state @@ -170,6 +170,7 @@ function walkTreeInPostOrderCreatingFoldersUnderTrash($index, $imap_stream, $tre $mbx_response = sqimap_mailbox_select($imap_stream, $tree[$index]['value']); $messageCount = $mbx_response['EXISTS']; if ($messageCount > 0) { + // FIXME: broken call sqimap_messages_copy($imap_stream, 1, '*', $trash_folder . $delimiter . $subFolderName); } // after copy close the mailbox to get in unselected state