mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update app_defaults.php
This commit is contained in:
@@ -27,11 +27,11 @@
|
||||
//process this only one time
|
||||
if ($domains_processed == 1) {
|
||||
|
||||
//set domains with enabled status of empty or null to true
|
||||
$sql = "update v_domains set domain_enabled = 'true' ";
|
||||
$sql .= "where domain_enabled = '' or domain_enabled is null ";
|
||||
$database->execute($sql, null);
|
||||
unset($sql);
|
||||
//set domain enable to true
|
||||
$sql = "update v_domains set domain_enabled = 'true' ";
|
||||
$sql .= "where domain_enabled is null ";
|
||||
$database->execute($sql, null);
|
||||
unset($sql);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user