Remove redundant rcmail_ prefix

pull/6883/head
Aleksander Machniak 5 years ago
parent 18a4d63be8
commit b3b0c5efe2

@ -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);
}
}

@ -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);
}
}

@ -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]))

@ -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);

Loading…
Cancel
Save