mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-28 22:01:55 +02:00
need to check both, mail-account and overwrites for SpamTitan API
This commit is contained in:
parent
ef36fafb53
commit
b2922e300a
@ -1075,7 +1075,7 @@ class mail_ui
|
|||||||
);
|
);
|
||||||
$account = Mail\Account::read($this->mail_bo->profileID);
|
$account = Mail\Account::read($this->mail_bo->profileID);
|
||||||
// spamTitan actions
|
// spamTitan actions
|
||||||
if ($account->acc_spam_api && class_exists('stylite_mail_spamtitan'))
|
if (($account->acc_spam_api || !empty($account->getParamOverwrites()['acc_spam_api'])) && class_exists('stylite_mail_spamtitan'))
|
||||||
{
|
{
|
||||||
$actions['spamfilter']['children'] = array_merge($actions['spamfilter']['children'], stylite_mail_spamtitan::getActions());
|
$actions['spamfilter']['children'] = array_merge($actions['spamfilter']['children'], stylite_mail_spamtitan::getActions());
|
||||||
}
|
}
|
||||||
@ -5732,4 +5732,4 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
|||||||
$response->data($res);
|
$response->data($res);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user