History | Log In     View a printable version of the current page.  
We are currently focused especially on Moodle 2.0, Moodle 1.9.x bugs and Moodle 1.9.x testing.    Confused? Lost? Please read this introduction to the Tracker.
Issue Details (XML | Word | Printable)

Key: MDL-10160
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Luis Rodrigues
Reporter: Luis Rodrigues
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Moodle
MDL-10107

Register the modules as a messaging provider in db/upgrade.php

Created: 19/Jun/07 01:56 AM   Updated: 19/Jun/07 03:48 AM
Component/s: Messages
Affects Version/s: 1.9
Fix Version/s: None

Participants: Luis Rodrigues
Security Level: None


 Description  « Hide
To cope with sites that are upgrading, we have to register the module as a messaging provider in db/upgrade.php for each module.


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Luis Rodrigues - 19/Jun/07 03:48 AM
Just created some code with executes WIDGET_install fro every module.

It uses get_list_of_plugins to get a module list and then for each one call WIDGET_install.