mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-21 16:02:16 +00:00
Remove redundant database objects
This reduces database connections and improves performance.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user