summaryrefslogtreecommitdiff
path: root/program/steps/mail/copy.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-04-07 17:30:12 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-04-07 17:30:12 +0200
commit0456f728ee3f6312101d0a372b7385fb34fdaf2a (patch)
tree78434f3253dbc04c2791f09bfed5bc25b749563d /program/steps/mail/copy.inc
parent6dc1a6645168e5e777a3db97b92d360a9e6b0c86 (diff)
Make UID extraction function globally availbale (for plugins)
Diffstat (limited to 'program/steps/mail/copy.inc')
-rw-r--r--program/steps/mail/copy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/copy.inc b/program/steps/mail/copy.inc
index 0f7b1a03a..79e207aa7 100644
--- a/program/steps/mail/copy.inc
+++ b/program/steps/mail/copy.inc
@@ -28,7 +28,7 @@ if (!$OUTPUT->ajax_call) {
if (!empty($_POST['_uid']) && strlen($_POST['_target_mbox'])) {
$target = rcube_utils::get_input_value('_target_mbox', rcube_utils::INPUT_POST, true);
- foreach (rcmail_get_uids() as $mbox => $uids) {
+ foreach (rcmail::get_uids() as $mbox => $uids) {
$copied += (int)$RCMAIL->storage->copy_message($uids, $target, $mbox);
}