MDL-63401 tool_dataprivacy: Change default for require end date
authorAndrew Nicols <andrew@nicols.co.uk>
Tue, 9 Oct 2018 00:31:57 +0000 (08:31 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Tue, 9 Oct 2018 00:31:59 +0000 (08:31 +0800)
We should preserve the existing behaviour.

admin/tool/dataprivacy/settings.php

index ad5bdf2..d3abf47 100644 (file)
@@ -65,7 +65,7 @@ if ($hassiteconfig) {
         $privacysettings->add(new admin_setting_configcheckbox('tool_dataprivacy/requireallenddatesforuserdeletion',
                 new lang_string('requireallenddatesforuserdeletion', 'tool_dataprivacy'),
                 new lang_string('requireallenddatesforuserdeletion_desc', 'tool_dataprivacy'),
-                0));
+                1));
     }
 }