Skip to content

Commit

Permalink
Use lang_string class in all our additions in settings.php
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Nov 12, 2024
1 parent 6230c72 commit 731901f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@

// Remove external user grace period.
$settings->add(new admin_setting_configtext('auth_ldap_syncplus/removeuser_graceperiod',
get_string('removeuser_graceperiod', 'auth_ldap_syncplus'),
get_string('removeuser_graceperiod_desc', 'auth_ldap_syncplus'), 10, PARAM_INT));
new lang_string('removeuser_graceperiod', 'auth_ldap_syncplus'),
new lang_string('removeuser_graceperiod_desc', 'auth_ldap_syncplus'), 10, PARAM_INT));

// Create users.
$settings->add(new admin_setting_configselect('auth_ldap_syncplus/sync_script_createuser_enabled',
Expand Down

0 comments on commit 731901f

Please sign in to comment.