MDL-52974 mod_assign: Include missing local library

This commit is contained in:
Juan Leyva 2016-03-02 08:16:39 +01:00 committed by Eloy Lafuente (stronk7)
parent 5be405fa4a
commit ee6aa74081

View File

@ -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(