Cleanup user submitted data in Silverstripe Userforms
Simple task to automatically cleanup userdata
To install run
composer require hamaka/userforms-cleanupsubmissions.
- Silverstripe ^4.0
- UserForms ^5
Note: For Silverstripe 3.x, please use the 2.x release line.
By default, the module will clean up entries older then 31 days. You can change the number of days you want to keep data stored via yml:
Hamaka\Tasks\UserFormsCleanupOldEntriesTask: days_retention: 90