I had a look and read that it only does > 12 months. We have over 200,000 records month.
@philco said: I had a look and read that it only does > 12 months. We have over 200,000 records month.
Open /plugins/ActivityPurge/default.php and look at line 54:
/plugins/ActivityPurge/default.php
//protect against less than a years deletion if ($delMonths < 12) $delMonths = 12;
Change it to
// protect against less than a years deletion // if ($delMonths < 12) $delMonths = 12;
Then open /plugins/ActivityPurge/views/activitypurgeset.php and look at line 29:
/plugins/ActivityPurge/views/activitypurgeset.php
$Options = array('12' => '12','13' => '13','14' => '14','15' => '15','16' => '16','18' => '18','20' => '20', '24' => '24','30' => '30', '36' => '36','48' => '48','60' => '60','72' => '72');
$Options = array('3' => '3', '6' => '6', '9' => '9', '12' => '12','13' => '13','14' => '14','15' => '15','16' => '16','18' => '18');
Thank you @R_J
Comments
I had a look and read that it only does > 12 months. We have over 200,000 records month.
Open
/plugins/ActivityPurge/default.php
and look at line 54:Change it to
Then open
/plugins/ActivityPurge/views/activitypurgeset.php
and look at line 29:Change it to
Thank you @R_J