mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-63726 tool_dataprivacy: En-/disable 'Data retention summary' link
This commit is contained in:
parent
8b019fb709
commit
abc469dd3b
3 changed files with 32 additions and 6 deletions
|
@ -66,6 +66,12 @@ if ($hassiteconfig) {
|
|||
new lang_string('requireallenddatesforuserdeletion', 'tool_dataprivacy'),
|
||||
new lang_string('requireallenddatesforuserdeletion_desc', 'tool_dataprivacy'),
|
||||
1));
|
||||
|
||||
// Whether the data retention summary should be shown in the page footer and in the user profile page.
|
||||
$privacysettings->add(new admin_setting_configcheckbox('tool_dataprivacy/showdataretentionsummary',
|
||||
new lang_string('showdataretentionsummary', 'tool_dataprivacy'),
|
||||
new lang_string('showdataretentionsummary_desc', 'tool_dataprivacy'),
|
||||
1));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue