|
@@ -1489,9 +1489,13 @@ function scheduled_weekly_maintenance()
|
|
|
$result = $smcFunc['db_query']('', '
|
|
|
SELECT id_report
|
|
|
FROM {db_prefix}log_reported
|
|
|
- WHERE time_started < {int:time_started}',
|
|
|
+ WHERE time_started < {int:time_started}
|
|
|
+ AND closed = {int:not_closed}
|
|
|
+ AND ignore_all = {int:not_ignored}',
|
|
|
array(
|
|
|
'time_started' => $t,
|
|
|
+ 'not_closed' => 0,
|
|
|
+ 'not_ignored' => 0,
|
|
|
)
|
|
|
);
|
|
|
|