Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.3
-
Component/s: Enrolments
-
Database:Any
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_21_STABLE
-
Fixed Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-31429_paypal_messages -
Pull Master Diff URL:
Description
The PayPal enrollment plugin uses message_send() to send notifications of failures to admins and of successes to students, teachers, and admins; however, the message provider was not installed in the 2.0 upgrade so all of these messages are failing. enrol/paypal/db/messages.php does not exist.
I'm attaching a patch that creates enrol/paypal/db/messages.php, bumps the version of enrol/paypal by 1 so that the message provider can be installed, and also fixes a few get_string() calls that were not looking for the strings in the correct component, which should be enrol.