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
|
* @return bool return true if the deletion was successful, false otherwise
|
||||||
*/
|
*/
|
||||||
public function delete() {
|
public function delete() {
|
||||||
global $CFG, $DB;
|
global $DB;
|
||||||
|
|
||||||
// Delete the elements.
|
// Delete the elements.
|
||||||
$sql = "SELECT e.*
|
$sql = "SELECT e.*
|
||||||
|
|
Loading…
Reference in a new issue