Prune.php
authorAlan Knowles <alan@roojs.com>
Tue, 25 Jul 2017 03:02:50 +0000 (11:02 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 25 Jul 2017 03:02:50 +0000 (11:02 +0800)
Prune.php

index d827318..7b01c9f 100644 (file)
--- a/Prune.php
+++ b/Prune.php
@@ -48,7 +48,7 @@ class Pman_Core_Prune extends Pman
     {
         // 40 seconds ? to delete 100K records..
        // DB_DataObject::debugLevel(1);
-        $f = DB_DataObject::Factory('reader_article');
+        $f = DB_DataObject::Factory('Events');
         $f->query("
             DELETE FROM Events where 
                   event_when < NOW() - INTERVAL {$inM} MONTH