Skip to content

Commit

Permalink
MDL-45445 events: documented the additional validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjnelson committed Jun 13, 2014
1 parent d0c65a4 commit c446f41
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
28 changes: 26 additions & 2 deletions lib/upgrade.txt
Expand Up @@ -10,8 +10,32 @@ Events and Logging:
* Significant changes in Logging API. For upgrading existing events_trigger() and
add_to_log() see http://docs.moodle.org/dev/Migrating_logging_calls_in_plugins
For accessing logs from plugins see http://docs.moodle.org/dev/Migrating_log_access_in_reports
* The validation of the following events is now stricter:
- \core\event\course_section_updated
* The validation of the following events is now stricter (see MDL-45445):
- \core\event\blog_entry_created
- \core\event\blog_entry_deleted
- \core\event\blog_entry_updated
- \core\event\cohort_member_added
- \core\event\cohort_member_removed
- \core\event\course_category_deleted
- \core\event\course_completed
- \core\event\course_content_deleted
- \core\event\course_created
- \core\event\course_deleted
- \core\event\course_restored
- \core\event\course_section_updated (see MDL-45229)
- \core\event\email_failed
- \core\event\group_member_added
- \core\event\group_member_removed
- \core\event\note_created
- \core\event\note_deleted
- \core\event\note_updated
- \core\event\role_assigned
- \core\event\role_deleted
- \core\event\role_unassigned
- \core\event\user_graded
- \core\event\user_loggedinas
- \core\event\user_profile_viewed
- \core\event\webservice_token_created

DEPRECATIONS:
* $module uses in mod/xxx/version.php files is now deprecated. Please use $plugin instead. It will be removed in Moodle 2.10.
Expand Down
5 changes: 5 additions & 0 deletions mod/feedback/upgrade.txt
@@ -0,0 +1,5 @@
=== 2.7 ===

* The validation of the following events is now stricter (see MDL-45445):
- \mod_feedback\event\response_deleted
- \mod_feedback\event\response_submitted

0 comments on commit c446f41

Please sign in to comment.