Removed domain_enabled to fix a bug for those using BDR

An issue occurs if the domain_enabled data type is text rather than boolean. The upgrade schema data types will correct the data type except when using BDR. The alter table for changing data types doesn't work because of BDR.
This commit is contained in:
FusionPBX
2025-01-13 11:12:13 -07:00
committed by GitHub
parent ca28a06cea
commit df745a2838

View File

@@ -537,7 +537,6 @@
//get device lines
$sql = "select * ";
$sql .= "from v_domains ";
$sql .= "where domain_enabled = true ";
$sql .= "order by domain_name asc ";
$domains = $database->select($sql, null, 'all');
unset($sql, $parameters);