Prune.php
authorAlan Knowles <alan@roojs.com>
Thu, 4 Oct 2018 04:38:00 +0000 (12:38 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 4 Oct 2018 04:38:00 +0000 (12:38 +0800)
Prune.php

index 7589102..2fc3587 100644 (file)
--- a/Prune.php
+++ b/Prune.php
@@ -39,8 +39,7 @@ class Pman_Core_Prune extends Pman
     
     function get($m="", $opts=array())
     {
-        echo "start?";
-        // prune irrelivant stuff..
+         // prune irrelivant stuff..
        
         
         
@@ -88,8 +87,8 @@ class Pman_Core_Prune extends Pman
         $f->having("mm > 2");
         $f->orderBy('mm desc') ;
         $f->limit(10000);
-        exit;
-        $ar = $f->fetchAll();
+                $ar = $f->fetchAll();
+
         foreach($ar as $f) {
             $q = DB_DataObject::Factory('Events');
             $q->query("DELETE FROM Events where