From 4439104c9b8c8f3ff80c55cdb5cc8165fe605282 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 4 Oct 2018 12:39:54 +0800 Subject: [PATCH] Prune.php --- Prune.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Prune.php b/Prune.php index 42540652..595eefb6 100644 --- a/Prune.php +++ b/Prune.php @@ -78,7 +78,7 @@ class Pman_Core_Prune extends Pman WHERE action = 'NOTIFY' and event_when < NOW() - INTERVAL 1 WEEK GROUP BY on_id, on_table HAVING mm > 2 ORDER BY mm desc; */ - DB_DataObject::debugLevel(1); + //DB_DataObject::debugLevel(1); $f = DB_DataObject::Factory('Events'); $before = $f->count(); @@ -101,7 +101,7 @@ class Pman_Core_Prune extends Pman AND on_table = '{$q->escape($f->on_table)}' AND - id >= {$f->min_id} + id > {$f->min_id} AND id <= {$f->max_id} "); -- 2.39.2