projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
68f381f
)
Prune.php
author
Alan Knowles
<alan@roojs.com>
Tue, 25 Jul 2017 03:02:50 +0000
(11:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 25 Jul 2017 03:02:50 +0000
(11:02 +0800)
Prune.php
patch
|
blob
|
history
diff --git
a/Prune.php
b/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