mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-52974 mod_assign: Include missing local library
This commit is contained in:
parent
5be405fa4a
commit
ee6aa74081
@ -2144,7 +2144,8 @@ class mod_assign_external extends external_api {
|
||||
* @since Moodle 3.1
|
||||
*/
|
||||
public static function view_submission_status($assignid) {
|
||||
global $DB;
|
||||
global $DB, $CFG;
|
||||
require_once("$CFG->dirroot/mod/assign/locallib.php");
|
||||
|
||||
$warnings = array();
|
||||
$params = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user