Remove redundant database objects

This reduces database connections and improves performance.
This commit is contained in:
FusionPBX
2024-08-05 14:22:17 -06:00
committed by GitHub
parent 00c803f53e
commit cd1cc70044
40 changed files with 0 additions and 169 deletions

View File

@@ -31,7 +31,6 @@ if ($domains_processed == 1) {
$sql = "select device_uuid, device_address ";
$sql .= "from v_devices ";
$sql .= "where (device_address like '%-%' or device_address like '%:%') ";
$database = database::new();
$result = $database->select($sql, null, 'all');
if (!empty($result)) {
foreach ($result as $row) {