From 8ca4d3bf561e9d006624ceebee2255f8c668eea5 Mon Sep 17 00:00:00 2001 From: Boris Gulay Date: Sun, 16 Oct 2016 13:32:58 +0300 Subject: [PATCH] Remove unnessecery logging. --- ident_switch.js | 2 -- ident_switch.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/ident_switch.js b/ident_switch.js index f64090c..55f4cf6 100644 --- a/ident_switch.js +++ b/ident_switch.js @@ -10,7 +10,6 @@ $(function() { $sw.prependTo('.topright'); $truName.hide(); $('#plugin-ident_switch-account').show(); - console.log("Doing replace."); } } @@ -53,7 +52,6 @@ function plugin_switchIdent_secure_onChange(e) { } function plugin_switchIdent_switch(val) { - console.log(rcmail.env.mailbox); rcmail.http_post('plugin.ident_switch.switch', { '_ident-id': val, '_mbox': rcmail.env.mailbox }); } diff --git a/ident_switch.php b/ident_switch.php index 8e80e78..accf2a3 100644 --- a/ident_switch.php +++ b/ident_switch.php @@ -37,7 +37,6 @@ class ident_switch extends rcube_plugin function on_startup($args) { $rc = rcmail::get_instance(); - error_log('Task: ' . $args['task'] . ', action: ' . $args['action']); if (strcasecmp($rc->user->data['username'], $_SESSION['username']) !== 0) { // We are impersonating @@ -57,7 +56,6 @@ class ident_switch extends rcube_plugin function on_render_page($args) { $rc = rcmail::get_instance(); - error_log('Template: ' . $args['template']); // Currently selected identity $iid = $_SESSION['iid' . $this->my_postfix];