mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Merge branch 'wip-MDL-31179-MOODLE_22_STABLE' of github.com:marinaglancy/moodle into MOODLE_22_STABLE
This commit is contained in:
commit
7ce803eeae
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