From 756b31ce9f85009b3a6bee90905832d43f44fb16 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 25 Sep 2014 08:47:47 +0000 Subject: [PATCH] remove html::purify call --- mail/inc/class.mail_ui.inc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index db72bb94e2..cdbc078ef3 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -121,15 +121,14 @@ class mail_ui } // no autohide of the sidebox, as we use it for folderlist now. unset($GLOBALS['egw_info']['user']['preferences']['common']['auto_hide_sidebox']); - if (!empty($_GET["resetConnection"])) $connectionReset = html::purify($_GET["resetConnection"]); - unset($_GET["resetConnection"]); if (isset($GLOBALS['egw_info']['user']['preferences']['mail']['ActiveProfileID']) && !empty($GLOBALS['egw_info']['user']['preferences']['mail']['ActiveProfileID'])) { self::$icServerID = (int)$GLOBALS['egw_info']['user']['preferences']['mail']['ActiveProfileID']; } - if ($connectionReset) + if ($_GET["resetConnection"]) { + unset($_GET["resetConnection"]); if (mail_bo::$debug) error_log(__METHOD__.__LINE__.' Connection Reset triggered:'.$connectionReset.' for Profile with ID:'.self::$icServerID); emailadmin_imapbase::unsetCachedObjects(self::$icServerID); }