summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/dblog/dblog.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dblog/dblog.module b/modules/dblog/dblog.module
index 0dffb75..04529d6 100644
--- a/modules/dblog/dblog.module
+++ b/modules/dblog/dblog.module
@@ -98,7 +98,7 @@ function dblog_init() {
function dblog_cron() {
// Cleanup the watchdog table
$max = db_result(db_query('SELECT MAX(wid) FROM {watchdog}'));
- db_query('DELETE FROM {watchdog} WHERE wid < %d', $max - variable_get('dblog_row_limit', 1000));
+ db_query('DELETE FROM {watchdog} WHERE wid <= %d', $max - variable_get('dblog_row_limit', 1000));
}
/**