Removed unnecessary global variable declaration
This commit is contained in:
parent
59ea1afd75
commit
9d9ce7ad27
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue