mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-68647 forum: Add missing advanced grading library inclusion
The method get_grading_manager() is called in the file so make sure the library is loaded. Without it, the forum's privacy provider unit test ended with error. Not directly related to the issue, but noticed while working on it.
This commit is contained in:
parent
3e78b603a5
commit
4a723a329e
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ use tool_dataprivacy\context_instance;
|
|||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once($CFG->dirroot . '/grade/grading/lib.php');
|
||||
|
||||
/**
|
||||
* Implementation of the privacy subsystem plugin provider for the forum activity module.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue