Add timestamp to webform_confirmations_submissions table. Updated schema and added update hook.
added permissions, menu callback, and form for configuring max number of days to retain data in webform_confirmations_submissions table
added checkbox to enable/disable purging submission records on cron, added implementation of hook_cron() to purge records.
Update hook initializes timestamp column to current date. This prevents all existing records from being purged the first time cron runs with purge enabled
I think it works.
Might be helpful if we actually set the timestamp when a new session record is created.
Changing the form labels to reflect the fact you're not deleting webform submissions.