Removed unused global
This commit is contained in:
parent
f365ff3ada
commit
4af6f68e48
1 changed files with 1 additions and 1 deletions
|
@ -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.*
|
||||
|
|
Loading…
Reference in a new issue