mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +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
|
||||
*/
|
||||
public function get_controller($method) {
|
||||
global $CFG;
|
||||
global $CFG, $DB;
|
||||
|
||||
$this->ensure_isset(array('context', 'component', 'area'));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue