X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Prune.php;h=036b41244febb4897167ad572bf19c626704617e;hb=0655bc2cbf652d3bea8018854b750da406e146dc;hp=594181c7c006cc23e3f9e02d09112f611c4fc1d7;hpb=80358ca2763129a65cbc32d98eb54a08894189d1;p=Pman.Core diff --git a/Prune.php b/Prune.php index 594181c7..036b4124 100644 --- a/Prune.php +++ b/Prune.php @@ -56,7 +56,7 @@ class Pman_Core_Prune extends Pman "); // notificication events occur alot - so we should trash them more frequently.. - $f = DB_DataObject::Factory('reader_article'); + /* $f = DB_DataObject::Factory('reader_article'); $f->query(" DELETE FROM Events where event_when < NOW() - INTERVAL 1 MONTH @@ -64,7 +64,7 @@ class Pman_Core_Prune extends Pman action IN ('NOTIFY') LIMIT 100000 "); - + */ // rather than deleting them all, it's probably best to just delete notify events that occured to often. // eg. when we tried to deliver multiple times without success...