and another fix

This commit is contained in:
SJ 2014-01-16 13:01:10 +01:00
parent df2d7aa644
commit 2c7e4ac3eb

View File

@ -33,7 +33,9 @@ class ControllerMessageNotSpam extends Controller {
AUDIT(ACTION_NOT_SPAM, '', '', $this->data['id'], '');
$this->model_search_message->not_spam($this->data['id']);
if(DEFAULT_RETENTION > 30) {
$this->model_search_message->not_spam($this->data['id']);
}
}