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:
David Mudrák 2020-05-07 21:04:18 +02:00
parent 3e78b603a5
commit 4a723a329e

View file

@ -37,6 +37,8 @@ use tool_dataprivacy\context_instance;
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . '/grade/grading/lib.php');
/** /**
* Implementation of the privacy subsystem plugin provider for the forum activity module. * Implementation of the privacy subsystem plugin provider for the forum activity module.
* *