Merge branch 'wip-MDL-31179-MOODLE_22_STABLE' of github.com:marinaglancy/moodle into MOODLE_22_STABLE
This commit is contained in:
@@ -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'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user