Aleksander Machniak
2016-04-08 4fdcd8c9d166b5bbeba698aea50be83a062ba42a
Remove redundant code
1 files modified
3 ■■■■ changed files
program/steps/mail/move_del.inc 3 ●●●● patch | view | raw | blame | history
program/steps/mail/move_del.inc
@@ -33,9 +33,8 @@
// move messages
if ($RCMAIL->action == 'move' && !empty($_POST['_uid']) && strlen($_POST['_target_mbox'])) {
    $target = rcube_utils::get_input_value('_target_mbox', rcube_utils::INPUT_POST, true);
    $trash  = $RCMAIL->config->get('trash_mbox');
    $success = true;
    foreach (rcmail::get_uids(null, null, $multifolder) as $mbox => $uids) {
        if ($mbox === $target) {
            $count += count($uids);