Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit 726a136

Browse files
author
Mads Nørgaard
committed
Purge logic added to all new webforms.
1 parent e982ad4 commit 726a136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

os2forms_forloeb.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ function end_notification_batch_function($processID, $queueID) {
152152
* Sets a global purge setting for all webform submissions to 30 days
153153
*/
154154
function os2forms_forloeb_webform_create(\Drupal\webform\WebformInterface $webform) {
155-
// Set purge authenticated and anonymous users submissions.
155+
// Set purge of all users submissions.
156156
$webform->setSetting('purge', 'all');
157-
// Set purge submissions more than 30 days old.
157+
// Set purge of submissions more than 30 days old.
158158
$webform->setSetting('purge_days', '30');
159159
}
160160

0 commit comments

Comments
 (0)