Remove unnessecery logging.
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user