Moodle

Install/upgrade message output plugins

Details

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

Description

message/output plugins should be like any other plugins

Activity

Hide
Martin Dougiamas added a comment -

I added code to admin/index.php to process these plugins.

It means that every message/output plugin (just like mod/xxx plugins etc) needs a

version.php
db folder
db/upgrade.php (will run on any upgrade when version.php changes)
db/install.xml (only if it has any tables)
db/access.php (only if the plugin needs any capabilities)

Show
Martin Dougiamas added a comment - I added code to admin/index.php to process these plugins. It means that every message/output plugin (just like mod/xxx plugins etc) needs a version.php db folder db/upgrade.php (will run on any upgrade when version.php changes) db/install.xml (only if it has any tables) db/access.php (only if the plugin needs any capabilities)
Hide
Ralf Krause added a comment - - edited

I think there must be a mistake. The notification page moodle/admin/index.php tells the following: "No message plugins installed!" and nothing is shown.

Show
Ralf Krause added a comment - - edited I think there must be a mistake. The notification page moodle/admin/index.php tells the following: "No message plugins installed!" and nothing is shown.
Hide
Luis Rodrigues added a comment -

Only admin/index.php is changed on CVS, the new message system is not on CVS yet.

So you get that error. Just wait a litle bit longer

Show
Luis Rodrigues added a comment - Only admin/index.php is changed on CVS, the new message system is not on CVS yet. So you get that error. Just wait a litle bit longer

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: