diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-04-07 17:30:12 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-04-07 17:30:12 +0200 |
commit | 0456f728ee3f6312101d0a372b7385fb34fdaf2a (patch) | |
tree | 78434f3253dbc04c2791f09bfed5bc25b749563d /program/steps/mail/move_del.inc | |
parent | 6dc1a6645168e5e777a3db97b92d360a9e6b0c86 (diff) |
Make UID extraction function globally availbale (for plugins)
Diffstat (limited to 'program/steps/mail/move_del.inc')
-rw-r--r-- | program/steps/mail/move_del.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc index 26c724597..7df22590a 100644 --- a/program/steps/mail/move_del.inc +++ b/program/steps/mail/move_del.inc @@ -35,7 +35,7 @@ if ($RCMAIL->action == 'move' && !empty($_POST['_uid']) && strlen($_POST['_targe $target = rcube_utils::get_input_value('_target_mbox', rcube_utils::INPUT_POST, true); $trash = $RCMAIL->config->get('trash_mbox'); - foreach (rcmail_get_uids() as $mbox => $uids) { + foreach (rcmail::get_uids() as $mbox => $uids) { $moved += (int)$RCMAIL->storage->move_message($uids, $target, $mbox); $count += count($uids); } @@ -56,7 +56,7 @@ if ($RCMAIL->action == 'move' && !empty($_POST['_uid']) && strlen($_POST['_targe } // delete messages else if ($RCMAIL->action=='delete' && !empty($_POST['_uid'])) { - foreach (rcmail_get_uids() as $mbox => $uids) { + foreach (rcmail::get_uids() as $mbox => $uids) { $del += (int)$RCMAIL->storage->delete_message($uids, $mbox); $count += count($uids); } |