Don't enable devel_mode in auditlog mode (#5466)

Fixes unintentional less files use in Kolab skin.
This commit is contained in:
Aleksander Machniak 2016-06-29 16:51:49 +02:00
parent ed63ad60a3
commit c43008b94f

View file

@ -64,7 +64,6 @@ class kolab_auth extends rcube_plugin
// Enable debug logs (per-user), when logged as another user // Enable debug logs (per-user), when logged as another user
if (!empty($_SESSION['kolab_auth_admin']) && $rcmail->config->get('kolab_auth_auditlog')) { if (!empty($_SESSION['kolab_auth_admin']) && $rcmail->config->get('kolab_auth_auditlog')) {
$rcmail->config->set('debug_level', 1); $rcmail->config->set('debug_level', 1);
$rcmail->config->set('devel_mode', true);
$rcmail->config->set('smtp_log', true); $rcmail->config->set('smtp_log', true);
$rcmail->config->set('log_logins', true); $rcmail->config->set('log_logins', true);
$rcmail->config->set('log_session', true); $rcmail->config->set('log_session', true);