Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2019-07-31 14:17:52 +0300
committerAleksander Machniak <alec@alec.pl>2019-07-31 14:17:52 +0300
commitb3b0c5efe2840c1f7f7322c087f1be6bbd6e476b (patch)
tree0862bb28695550ec6c4720e750207e14021ddd76 /plugins
parent18a4d63be87bc440cb9edec31905197d038fc4ef (diff)
Remove redundant rcmail_ prefix
Diffstat (limited to 'plugins')
-rw-r--r--plugins/markasjunk/drivers/edit_headers.php2
-rw-r--r--plugins/markasjunk/drivers/sa_detach.php2
-rw-r--r--plugins/markasjunk/markasjunk.js2
-rw-r--r--plugins/markasjunk/markasjunk.php2
4 files changed, 4 insertions, 4 deletions
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);