Removed unused global

This commit is contained in:
Mark Nelson 2016-08-24 12:36:26 +08:00
parent c6540b1cd9
commit 787746e4a8

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.*