MDL-66994 core: Remove display contact form setting in site registration

Removing the display of the contact form causes deprecation of some
language strings and unsets the site_contactable during the upgrade.
This commit is contained in:
meirzamoodle 2024-06-27 17:40:27 +07:00
parent 5aef789ac6
commit 1f1d1a3920
7 changed files with 20 additions and 17 deletions

View file

@ -116,3 +116,7 @@ coursecalendar,core_calendar
importcalendarexternal,core_calendar
nocalendarsubscriptions,core_calendar
datechanged,core
siteregistrationcontact,core_hub
siteregistrationcontact_help,core_hub
registrationcontactno,core
registrationcontactyes,core

View file

@ -150,8 +150,6 @@ $string['siteprivacy_help'] = 'You can choose to have your site listed publicly
$string['siteprivacynotpublished'] = 'Do not list my site';
$string['siteprivacypublished'] = 'Only display my site name';
$string['siteprivacylinked'] = 'Display my site name with the link';
$string['siteregistrationcontact'] = 'Display contact form';
$string['siteregistrationcontact_help'] = 'If you allow it, other people in our Moodle community (who need a login account) can contact you via a form on our Moodle community site. However, they will never be able to see your email address.';
$string['siteregistrationemail'] = 'Notifications of new Moodle releases, security alerts and other important news';
$string['siteregistrationemail_help'] = 'You have the option of subscribing to our low-volume mailing list for notifications of new Moodle releases, security alerts and other important news. You may unsubscribe at any time.';
$string['siteregistrationupdated'] = 'Site registration updated';
@ -178,3 +176,7 @@ $string['wrongtoken'] = 'The registration failed for some unknown reason (networ
// Deprecate since 3.11.
$string['sitecommnewsno'] = 'No, I do not wish to receive any emails';
// Deprecated since 4.5.
$string['siteregistrationcontact'] = 'Display contact form';
$string['siteregistrationcontact_help'] = 'If you allow it, other people in our Moodle community (who need a login account) can contact you via a form on our Moodle community site. However, they will never be able to see your email address.';

View file

@ -1816,8 +1816,6 @@ $string['refresh'] = 'Refresh';
$string['refreshingevents'] = 'Refreshing events';
$string['registration'] = 'Moodle registration';
$string['registrationcontact'] = 'Contact from the public';
$string['registrationcontactno'] = 'No, I do not want to be contacted by other people';
$string['registrationcontactyes'] = 'Yes, provide a form for other Moodlers to contact me';
$string['registrationemail'] = 'Email notifications';
$string['registrationinfo'] = '<p>This page allows you to register your Moodle site with moodle.org. Registration is free.
The main benefit of registering is that you will be added to a low-volume mailing list
@ -2522,3 +2520,5 @@ $string['coursesearch_help'] = 'You can search for multiple words at once and ca
// Deprecated since Moodle 4.5.
$string['datechanged'] = 'Date changed';
$string['registrationcontactno'] = 'No, I do not want to be contacted by other people';
$string['registrationcontactyes'] = 'Yes, provide a form for other Moodlers to contact me';