the "Activity log purge" feature in admin/settings/activity/settings is currently not working for me, set a '1 hour' purge time and activity-all views still shows them. What I did noticed from source is that activity_cron() is not being called to purge activity data.

Comments

Scott Reynolds’s picture

Status: Active » Postponed (maintainer needs more info)

is cron.php running? activity_cron() is invoked when cron.php is hit

http://drupal.org/cron

likewhoa’s picture

Yes that's the first thing I did was run cron but that didn't help.

Scott Reynolds’s picture

Ahh, pretty subtle bug actually. If the activity doesn't have any access records it won't ever be deleted. Access records happen to be the only property of the activity that doesn't have to be there. Which is why it didn't come through in testing, I always have access records.

Committed the fix here
http://drupal.org/cvs?commit=207370

Scott Reynolds’s picture

Status: Postponed (maintainer needs more info) » Fixed
likewhoa’s picture

thanks, more bugs on the way.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.