diff --git a/plugins/markasjunk/drivers/edit_headers.php b/plugins/markasjunk/drivers/edit_headers.php index f52cb3e1f..9373fc9dd 100644 --- a/plugins/markasjunk/drivers/edit_headers.php +++ b/plugins/markasjunk/drivers/edit_headers.php @@ -56,7 +56,7 @@ class markasjunk_edit_headers $saved = $rcube->storage->save_message($dst_mbox, $raw_message); if ($saved !== false) { - $rcube->output->command('rcmail_markasjunk_move', null, array($uid)); + $rcube->output->command('markasjunk_move', null, array($uid)); array_push($new_uids, $saved); } } diff --git a/plugins/markasjunk/drivers/sa_detach.php b/plugins/markasjunk/drivers/sa_detach.php index 30fcc71db..826d7fcde 100644 --- a/plugins/markasjunk/drivers/sa_detach.php +++ b/plugins/markasjunk/drivers/sa_detach.php @@ -47,7 +47,7 @@ class markasjunk_sa_detach $orig_message_raw = $message->get_part_body($part->mime_id); if ($saved = $storage->save_message($dst_mbox, $orig_message_raw)) { - $rcube->output->command('rcmail_markasjunk_move', null, array($uid)); + $rcube->output->command('markasjunk_move', null, array($uid)); array_push($new_uids, $saved); } } diff --git a/plugins/markasjunk/markasjunk.js b/plugins/markasjunk/markasjunk.js index c00907bb3..4f1143efe 100644 --- a/plugins/markasjunk/markasjunk.js +++ b/plugins/markasjunk/markasjunk.js @@ -25,7 +25,7 @@ rcube_webmail.prototype.markasjunk_mark = function(is_spam) { this.http_post('plugin.markasjunk.' + (is_spam ? 'junk' : 'not_junk'), this.selection_post_data({_uid: uids}), lock); } -rcube_webmail.prototype.rcmail_markasjunk_move = function(mbox, uids) { +rcube_webmail.prototype.markasjunk_move = function(mbox, uids) { var prev_uid = this.env.uid; if (this.message_list && uids.length == 1 && !this.message_list.in_selection(uids[0])) diff --git a/plugins/markasjunk/markasjunk.php b/plugins/markasjunk/markasjunk.php index 303f8e8cf..67ae84c33 100644 --- a/plugins/markasjunk/markasjunk.php +++ b/plugins/markasjunk/markasjunk.php @@ -141,7 +141,7 @@ class markasjunk extends rcube_plugin if ($result) { if ($dest_mbox && ($mbox_name !== $dest_mbox || $multifolder)) { - $this->rcube->output->command('rcmail_markasjunk_move', $dest_mbox, $this->_messageset_to_uids($messageset, $multifolder)); + $this->rcube->output->command('markasjunk_move', $dest_mbox, $this->_messageset_to_uids($messageset, $multifolder)); } else { $this->rcube->output->command('command', 'list', $mbox_name);