mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
removing an extra include
This commit is contained in:
parent
4d25a59e3f
commit
9e5fe95780
@ -70,7 +70,6 @@
|
||||
case "grade":
|
||||
$course = get_record('course', 'id', required_param('id', PARAM_INT));
|
||||
if (!empty($course->showgrades)) {
|
||||
require_once $CFG->libdir.'/gradelib.php';
|
||||
require_once $CFG->dirroot.'/grade/lib.php';
|
||||
require_once $CFG->dirroot.'/grade/report/user/lib.php';
|
||||
$context = get_context_instance(CONTEXT_COURSE, $id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user