From: Alan Knowles Date: Wed, 9 Dec 2015 09:29:27 +0000 (+0800) Subject: Prune.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=6b68d26e7780891f2adf95363f0c67d86328c6b1 Prune.php --- diff --git a/Prune.php b/Prune.php index a297062e..d14bac7c 100644 --- a/Prune.php +++ b/Prune.php @@ -52,6 +52,8 @@ class Pman_Core_Prune extends Pman $f->query(" DELETE FROM Events where event_when < NOW() - INTERVAL {$inM} MONTH + AND + action != 'NOTIFY' LIMIT 100000 ");