From e4ef2007a4c80d5c80ef12d512eb99deb2f06835 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 27 Nov 2018 11:51:11 +0100 Subject: [PATCH] Rely on disableIFNoEPL attribute --- mail/inc/class.mail_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 6ec664a22f..62aa739a7f 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -1010,7 +1010,7 @@ class mail_ui ); $account = Mail\Account::read($this->mail_bo->profileID); // spamTitan actions - if ($GLOBALS['egw_info']['apps']['stylite'] && $account->acc_spam_api) + if ($account->acc_spam_api) { $actions['spamfilter']['children'] = array_merge($actions['spamfilter']['children'], stylite_mail_spamtitan::getActions()); }