mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-31179: added missing global
This commit is contained in:
parent
f6b4ec2b4a
commit
776d75b9a6
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ class grading_manager {
|
||||||
* @return grading_controller
|
* @return grading_controller
|
||||||
*/
|
*/
|
||||||
public function get_controller($method) {
|
public function get_controller($method) {
|
||||||
global $CFG;
|
global $CFG, $DB;
|
||||||
|
|
||||||
$this->ensure_isset(array('context', 'component', 'area'));
|
$this->ensure_isset(array('context', 'component', 'area'));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue