Removed unused global
This commit is contained in:
parent
c6540b1cd9
commit
787746e4a8
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