Remove unnessecery logging.

This commit is contained in:
Boris Gulay
2016-10-16 13:32:58 +03:00
parent 829615ec5d
commit 8ca4d3bf56
2 changed files with 0 additions and 4 deletions

View File

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

View File

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