Moodle

normalise blocks install/upgrade - make it a bit more like the rest of plugins

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Blocks
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

1/ move blocks/db/* and blocks/version.php to core lib/db/install.php and upgrade.php - this is corem why should it be separate?
2/ store block versions in blocks/xxxxx/version.php like the rest of plugins - why should it be different?

Activity

Hide
Petr Škoda (skodak) added a comment -

shared blocks install.xml moved to core, keeping the plugin upgrade code for now

Show
Petr Škoda (skodak) added a comment - shared blocks install.xml moved to core, keeping the plugin upgrade code for now

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: