Moodle

error on moving course category

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: Roles / Access
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

Fatal error: Call to undefined function rebuild_context_rel() in /var/www/19perf/moodle-r2/course/index.php on line 199

As context_rel is no longer needed maybe this can be taken out?

Activity

Hide
Martín Langhoff added a comment -

Fix pushed out, from the commit msg...

course/index: remove call to rebuild_context_rel()

Very last caller to rebuild_context_rel() and any XX_context_rel()
function. move_category() already takes care of calling
context_moved(), which does the required context.path maintenance.

Show
Martín Langhoff added a comment - Fix pushed out, from the commit msg... course/index: remove call to rebuild_context_rel() Very last caller to rebuild_context_rel() and any XX_context_rel() function. move_category() already takes care of calling context_moved(), which does the required context.path maintenance.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: