Removed unused global

This commit is contained in:
Mark Nelson 2016-08-24 12:36:26 +08:00
parent f365ff3ada
commit 4af6f68e48

View file

@ -146,7 +146,7 @@ class template {
* @return bool return true if the deletion was successful, false otherwise
*/
public function delete() {
global $CFG, $DB;
global $DB;
// Delete the elements.
$sql = "SELECT e.*