From 8d5f8d48b1835dce0ebda41ab848a179a34bb97a Mon Sep 17 00:00:00 2001 From: Narkunan <65581958+Narkunan@users.noreply.github.com> Date: Tue, 24 Nov 2026 15:08:29 +0530 Subject: [PATCH 1/9] Fixed Typo Corrected typos and improved clarity in the welcome email section. --- docs/apis/plugintypes/enrol/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/plugintypes/enrol/index.md b/docs/apis/plugintypes/enrol/index.md index bd26950799..307aed3119 100644 --- a/docs/apis/plugintypes/enrol/index.md +++ b/docs/apis/plugintypes/enrol/index.md @@ -442,7 +442,7 @@ import UiLib from '!!raw-loader!./_examples/ui_lib.php'; ## Sending a welcome email {/* #sending-a-welcome-email */} -Some enrol methods has the support for sending welcome mesages to users. To grant the enrol messages are consistent acorrs enrolments methods, the enrol API provides the `enrol_send_welcome_email_options` function. This method returns a list of all possible options for sending welcome email when the user enrol in a course and each option has a respective constant defined on **enrollib.php**: +Some enrol methods has the support for sending welcome mesages to users. To grant the enrol messages are consistent across enrolments methods, the enrol API provides the `enrol_send_welcome_email_options` function. This method returns a list of all possible options for sending welcome email when the user enrol in a course and each option has a respective constant defined on **enrollib.php**: ```php define('ENROL_DO_NOT_SEND_EMAIL', 0); // Do not send the welcome email. From 4a7db98a74c3ecaa363ad82047e0e425841bb62d Mon Sep 17 00:00:00 2001 From: Narkunan <65581958+Narkunan@users.noreply.github.com> Date: Tue, 24 Nov 2026 15:13:46 +0530 Subject: [PATCH 2/9] Fixed typo Corrected grammar and improved clarity in the welcome email section. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docs/apis/plugintypes/enrol/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/plugintypes/enrol/index.md b/docs/apis/plugintypes/enrol/index.md index 307aed3119..3ccda6d9ef 100644 --- a/docs/apis/plugintypes/enrol/index.md +++ b/docs/apis/plugintypes/enrol/index.md @@ -442,7 +442,7 @@ import UiLib from '!!raw-loader!./_examples/ui_lib.php'; ## Sending a welcome email {/* #sending-a-welcome-email */} -Some enrol methods has the support for sending welcome mesages to users. To grant the enrol messages are consistent across enrolments methods, the enrol API provides the `enrol_send_welcome_email_options` function. This method returns a list of all possible options for sending welcome email when the user enrol in a course and each option has a respective constant defined on **enrollib.php**: +Some enrolment methods support sending welcome messages to users. To keep welcome messages consistent across enrolment methods, the enrol API provides the `enrol_send_welcome_email_options` function. This function returns all available options for sending a welcome email when a user enrols in a course; each option has a corresponding constant defined in **enrollib.php**: ```php define('ENROL_DO_NOT_SEND_EMAIL', 0); // Do not send the welcome email. From 42a046d05cd90ec1eecc0f4200fe59608637079d Mon Sep 17 00:00:00 2001 From: Narkunan <65581958+Narkunan@users.noreply.github.com> Date: Tue, 24 Nov 2026 15:16:42 +0530 Subject: [PATCH 3/9] Fix grammar in welcome email Corrected grammar and phrasing in the welcome email section for clarity. --- docs/apis/plugintypes/enrol/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/plugintypes/enrol/index.md b/docs/apis/plugintypes/enrol/index.md index 3ccda6d9ef..307aed3119 100644 --- a/docs/apis/plugintypes/enrol/index.md +++ b/docs/apis/plugintypes/enrol/index.md @@ -442,7 +442,7 @@ import UiLib from '!!raw-loader!./_examples/ui_lib.php'; ## Sending a welcome email {/* #sending-a-welcome-email */} -Some enrolment methods support sending welcome messages to users. To keep welcome messages consistent across enrolment methods, the enrol API provides the `enrol_send_welcome_email_options` function. This function returns all available options for sending a welcome email when a user enrols in a course; each option has a corresponding constant defined in **enrollib.php**: +Some enrol methods has the support for sending welcome mesages to users. To grant the enrol messages are consistent across enrolments methods, the enrol API provides the `enrol_send_welcome_email_options` function. This method returns a list of all possible options for sending welcome email when the user enrol in a course and each option has a respective constant defined on **enrollib.php**: ```php define('ENROL_DO_NOT_SEND_EMAIL', 0); // Do not send the welcome email. From 8ca153aecef1300995949f0ed661f2449af69ccf Mon Sep 17 00:00:00 2001 From: Narkunan <65581958+Narkunan@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:00:44 +0530 Subject: [PATCH 4/9] Fix grammar and clarify welcome email options Corrected grammar and clarified the explanation of the enrol_send_welcome_email_options function and its constants. --- docs/apis/plugintypes/enrol/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/apis/plugintypes/enrol/index.md b/docs/apis/plugintypes/enrol/index.md index 307aed3119..6532a03d8c 100644 --- a/docs/apis/plugintypes/enrol/index.md +++ b/docs/apis/plugintypes/enrol/index.md @@ -442,7 +442,8 @@ import UiLib from '!!raw-loader!./_examples/ui_lib.php'; ## Sending a welcome email {/* #sending-a-welcome-email */} -Some enrol methods has the support for sending welcome mesages to users. To grant the enrol messages are consistent across enrolments methods, the enrol API provides the `enrol_send_welcome_email_options` function. This method returns a list of all possible options for sending welcome email when the user enrol in a course and each option has a respective constant defined on **enrollib.php**: +Some enrolment methods support sending welcome messages to users. To keep welcome messages consistent across enrolment methods, the enrol API provides the `enrol_send_welcome_email_options` function. This function returns all available options for sending a welcome email when a user enrols in a course; each option has a corresponding constant defined in **enrollib.php**: + ```php define('ENROL_DO_NOT_SEND_EMAIL', 0); // Do not send the welcome email. From 9dd859e32692b5dba29e695dfa69e01086d2e2db Mon Sep 17 00:00:00 2001 From: Narkunan <65581958+Narkunan@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:12:34 +0530 Subject: [PATCH 5/9] Remove empty line in welcome email documentation Removed an empty line before the PHP code block in the welcome email section. --- docs/apis/plugintypes/enrol/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/apis/plugintypes/enrol/index.md b/docs/apis/plugintypes/enrol/index.md index 6532a03d8c..3ccda6d9ef 100644 --- a/docs/apis/plugintypes/enrol/index.md +++ b/docs/apis/plugintypes/enrol/index.md @@ -444,7 +444,6 @@ import UiLib from '!!raw-loader!./_examples/ui_lib.php'; Some enrolment methods support sending welcome messages to users. To keep welcome messages consistent across enrolment methods, the enrol API provides the `enrol_send_welcome_email_options` function. This function returns all available options for sending a welcome email when a user enrols in a course; each option has a corresponding constant defined in **enrollib.php**: - ```php define('ENROL_DO_NOT_SEND_EMAIL', 0); // Do not send the welcome email. define('ENROL_SEND_EMAIL_FROM_COURSE_CONTACT', 1); // Send welcome email from course contact. From 397f9d0ab715f8742de27b8f090b767a14357d65 Mon Sep 17 00:00:00 2001 From: Narkunan <65581958+Narkunan@users.noreply.github.com> Date: Thu, 26 Nov 2026 13:21:52 +0530 Subject: [PATCH 6/9] Fix typos and improve clarity in welcome email documentation in version 4.5 Correct spelling and grammatical errors in the welcome email section. --- versioned_docs/version-4.5/apis/plugintypes/enrol/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-4.5/apis/plugintypes/enrol/index.md b/versioned_docs/version-4.5/apis/plugintypes/enrol/index.md index bd26950799..3ccda6d9ef 100644 --- a/versioned_docs/version-4.5/apis/plugintypes/enrol/index.md +++ b/versioned_docs/version-4.5/apis/plugintypes/enrol/index.md @@ -442,7 +442,7 @@ import UiLib from '!!raw-loader!./_examples/ui_lib.php'; ## Sending a welcome email {/* #sending-a-welcome-email */} -Some enrol methods has the support for sending welcome mesages to users. To grant the enrol messages are consistent acorrs enrolments methods, the enrol API provides the `enrol_send_welcome_email_options` function. This method returns a list of all possible options for sending welcome email when the user enrol in a course and each option has a respective constant defined on **enrollib.php**: +Some enrolment methods support sending welcome messages to users. To keep welcome messages consistent across enrolment methods, the enrol API provides the `enrol_send_welcome_email_options` function. This function returns all available options for sending a welcome email when a user enrols in a course; each option has a corresponding constant defined in **enrollib.php**: ```php define('ENROL_DO_NOT_SEND_EMAIL', 0); // Do not send the welcome email. From b722491740621c6b08be4da78b04784ebe10535a Mon Sep 17 00:00:00 2001 From: Narkunan <65581958+Narkunan@users.noreply.github.com> Date: Thu, 26 Nov 2026 13:22:50 +0530 Subject: [PATCH 7/9] Fix typos and improve clarity in welcome email section version 5.1 Corrected spelling and grammatical errors for clarity. --- versioned_docs/version-5.1/apis/plugintypes/enrol/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-5.1/apis/plugintypes/enrol/index.md b/versioned_docs/version-5.1/apis/plugintypes/enrol/index.md index bd26950799..3ccda6d9ef 100644 --- a/versioned_docs/version-5.1/apis/plugintypes/enrol/index.md +++ b/versioned_docs/version-5.1/apis/plugintypes/enrol/index.md @@ -442,7 +442,7 @@ import UiLib from '!!raw-loader!./_examples/ui_lib.php'; ## Sending a welcome email {/* #sending-a-welcome-email */} -Some enrol methods has the support for sending welcome mesages to users. To grant the enrol messages are consistent acorrs enrolments methods, the enrol API provides the `enrol_send_welcome_email_options` function. This method returns a list of all possible options for sending welcome email when the user enrol in a course and each option has a respective constant defined on **enrollib.php**: +Some enrolment methods support sending welcome messages to users. To keep welcome messages consistent across enrolment methods, the enrol API provides the `enrol_send_welcome_email_options` function. This function returns all available options for sending a welcome email when a user enrols in a course; each option has a corresponding constant defined in **enrollib.php**: ```php define('ENROL_DO_NOT_SEND_EMAIL', 0); // Do not send the welcome email. From 6543f23534d7d23a525aadc5e3f35dd1d59af66f Mon Sep 17 00:00:00 2001 From: Narkunan <65581958+Narkunan@users.noreply.github.com> Date: Thu, 26 Nov 2026 13:23:38 +0530 Subject: [PATCH 8/9] Fix typos and enhance welcome email instructions version 5.2 Corrected typos and improved clarity in the welcome email section. --- versioned_docs/version-5.2/apis/plugintypes/enrol/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-5.2/apis/plugintypes/enrol/index.md b/versioned_docs/version-5.2/apis/plugintypes/enrol/index.md index bd26950799..3ccda6d9ef 100644 --- a/versioned_docs/version-5.2/apis/plugintypes/enrol/index.md +++ b/versioned_docs/version-5.2/apis/plugintypes/enrol/index.md @@ -442,7 +442,7 @@ import UiLib from '!!raw-loader!./_examples/ui_lib.php'; ## Sending a welcome email {/* #sending-a-welcome-email */} -Some enrol methods has the support for sending welcome mesages to users. To grant the enrol messages are consistent acorrs enrolments methods, the enrol API provides the `enrol_send_welcome_email_options` function. This method returns a list of all possible options for sending welcome email when the user enrol in a course and each option has a respective constant defined on **enrollib.php**: +Some enrolment methods support sending welcome messages to users. To keep welcome messages consistent across enrolment methods, the enrol API provides the `enrol_send_welcome_email_options` function. This function returns all available options for sending a welcome email when a user enrols in a course; each option has a corresponding constant defined in **enrollib.php**: ```php define('ENROL_DO_NOT_SEND_EMAIL', 0); // Do not send the welcome email. From 2066686fe8fb64bc42f9f3e6875ddec3e20681f9 Mon Sep 17 00:00:00 2001 From: Narkunan <65581958+Narkunan@users.noreply.github.com> Date: Thu, 26 Nov 2026 13:24:28 +0530 Subject: [PATCH 9/9] Fix typos and enhance clarity in welcome email documentation version 5.3 Corrected typos and improved clarity in the welcome email section. --- versioned_docs/version-5.3/apis/plugintypes/enrol/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-5.3/apis/plugintypes/enrol/index.md b/versioned_docs/version-5.3/apis/plugintypes/enrol/index.md index bd26950799..3ccda6d9ef 100644 --- a/versioned_docs/version-5.3/apis/plugintypes/enrol/index.md +++ b/versioned_docs/version-5.3/apis/plugintypes/enrol/index.md @@ -442,7 +442,7 @@ import UiLib from '!!raw-loader!./_examples/ui_lib.php'; ## Sending a welcome email {/* #sending-a-welcome-email */} -Some enrol methods has the support for sending welcome mesages to users. To grant the enrol messages are consistent acorrs enrolments methods, the enrol API provides the `enrol_send_welcome_email_options` function. This method returns a list of all possible options for sending welcome email when the user enrol in a course and each option has a respective constant defined on **enrollib.php**: +Some enrolment methods support sending welcome messages to users. To keep welcome messages consistent across enrolment methods, the enrol API provides the `enrol_send_welcome_email_options` function. This function returns all available options for sending a welcome email when a user enrols in a course; each option has a corresponding constant defined in **enrollib.php**: ```php define('ENROL_DO_NOT_SEND_EMAIL', 0); // Do not send the welcome email.