Dialplans: Minor adjustment to class delete method.

This commit is contained in:
Nate 2019-12-09 11:33:30 -07:00
parent b9462f1817
commit a8a215d10e
1 changed files with 1 additions and 2 deletions

View File

@ -1095,7 +1095,6 @@ include "root.php";
$database->app_name = $this->app_name;
$database->app_uuid = $this->app_uuid;
$database->delete($array);
unset($array);
//revoke temporary permissions
$p->delete('dialplan_delete', 'temp');
@ -1117,7 +1116,7 @@ include "root.php";
message::add($text['message-delete'].': '.@sizeof($array[$this->table]));
}
unset($records);
unset($records, $array);
}
}