From 731901f567503f14e2f1d077beab832284422a69 Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Tue, 12 Nov 2024 10:27:35 +0100 Subject: [PATCH] Use lang_string class in all our additions in settings.php --- settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.php b/settings.php index d906c8b..020bab3 100644 --- a/settings.php +++ b/settings.php @@ -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',