DataObjects/Core_notify_blacklist.php
authorAlan <alan@roojs.com>
Wed, 11 Oct 2023 02:25:14 +0000 (10:25 +0800)
committerAlan <alan@roojs.com>
Wed, 11 Oct 2023 02:25:14 +0000 (10:25 +0800)
DataObjects/Core_notify_blacklist.php

index 84437d7..408f542 100644 (file)
@@ -40,7 +40,7 @@ class Pman_Core_DataObjects_Core_notify_blacklist extends DB_DataObject
     function prune()
     {
         $this->query("
-            DELETE FROM {$this->tableName()} where added_dt < NOW()  - 1 WEEK
+            DELETE FROM {$this->tableName()} where added_dt < NOW()  - INTERVAL 1 WEEK
         ");
             
     }