Prune.php
[Pman.Core] / Prune.php
index a297062..d14bac7 100644 (file)
--- 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
         ");