Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-10107 META: New Messaging System (GSoC)
  3. MDL-10160

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

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Messages
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            lfrodrigues Luis Rodrigues added a comment -

            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.

            Show
            lfrodrigues Luis Rodrigues added a comment - 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.

              People

              • Assignee:
                lfrodrigues Luis Rodrigues
                Reporter:
                lfrodrigues Luis Rodrigues
                Tester:
                Nobody
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: