Moodle

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

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor 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.

Activity

Hide
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
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

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: