Rely on disableIFNoEPL attribute

This commit is contained in:
Hadi Nategh 2018-11-27 11:51:11 +01:00
parent f3ebfacc57
commit e4ef2007a4

View File

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