mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-31179: added missing global
This commit is contained in:
parent
f6b4ec2b4a
commit
776d75b9a6
@ -461,7 +461,7 @@ class grading_manager {
|
||||
* @return grading_controller
|
||||
*/
|
||||
public function get_controller($method) {
|
||||
global $CFG;
|
||||
global $CFG, $DB;
|
||||
|
||||
$this->ensure_isset(array('context', 'component', 'area'));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user