Moodle

mnet code should not access mdl_config_plugins table directly - moodlelib functions should be used

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.5, 2.0
  • Fix Version/s: 2.0
  • Component/s: MNet
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Some mnet code accesses the mdl_config_plugins table directly. It would be much better/safer to gain access to these settings via get_config() and set_config() in moodlelib.

Nowehere else in standard Moodle accesses these tables directly (excepting db upgrade scripts)

Issue Links

Activity

Hide
Penny Leach added a comment -

Thanks Howard.

I fixed this in 2.0 as part of the mnet overhaul I'm doing - don't think this one is worth backporting to stable though, as it doesn't affect anyone.

Show
Penny Leach added a comment - Thanks Howard. I fixed this in 2.0 as part of the mnet overhaul I'm doing - don't think this one is worth backporting to stable though, as it doesn't affect anyone.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: