Merge branch 'wip-MDL-31179-master' of github.com:marinaglancy/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2012-01-23 01:19:18 +01:00
commit b10d13e016

View File

@ -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'));