Removed domain_enabled to fix a bug for those using BDR

An issue occurs if the domain_enabled data type was 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:10:34 -07:00 committed by GitHub
parent a118cd658e
commit 405a335ffb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

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);