Remove the unset($database) statements (#7084)
* Remove the unset($database) statements The database object is a global variable that contains a database object reference and should not be unset. * Update event_guard.php * Update event_guard.php * Update event_guard.php --------- Co-authored-by: Tim Fry <tim@fusionpbx.com> Co-authored-by: FusionPBX <markjcrane@gmail.com>
This commit is contained in:
@@ -111,7 +111,6 @@ if ($domains_processed == 1) {
|
||||
$p->delete("var_edit", "temp");
|
||||
}
|
||||
|
||||
|
||||
//set country depend variables as country code and international direct dialing code (exit code)
|
||||
if (!function_exists('set_country_vars')) {
|
||||
function set_country_vars($database, $x) {
|
||||
|
||||
Reference in New Issue
Block a user