Moodle

allow forcing of plugin settings from config.php

Details

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

Description

At present we can force $CFG->setting to override the 'setting' value in config table and admin UI.

We need the same for config_plugins table too. The idea is to have:

$CFG->forced_plugin_settings = array('scorm'=>array('maxgrade'=>60));

which then overrides the result from get_config()...

Activity

Hide
Petr Škoda (skodak) added a comment -

implemented and documented in config-dist.php

Show
Petr Škoda (skodak) added a comment - implemented and documented in config-dist.php

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: