Removed unnecessary global variable declaration

This commit is contained in:
Mark Nelson 2013-06-05 16:53:28 +08:00
parent 59ea1afd75
commit 9d9ce7ad27

View file

@ -203,7 +203,7 @@ class customcert_element_grade extends customcert_element_base {
* @return string the grade result
*/
public static function get_grade($gradeinfo, $userid) {
global $COURSE, $USER, $DB;
global $COURSE;
// Get the grade information.
$gradeitem = $gradeinfo->gradeitem;