added an option to delete emails from archive for auditors

This commit is contained in:
SJ
2015-07-08 15:22:35 +02:00
parent 2b6e12d89a
commit db578ea6d0
2 changed files with 8 additions and 10 deletions

View File

@ -556,6 +556,8 @@ class ModelSearchSearch extends Model {
$this->model_search_message->connect_to_pilergetd();
foreach($query->rows as $m) {
if($m['retained'] < NOW) continue;
$m['shortfrom'] = make_short_string($m['from'], MAX_CGI_FROM_SUBJ_LEN);
$m['from'] = escape_gt_lt_quote_symbols($m['from']);