mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update extensions.php
Remove user_context from v_devices as its redundant when the domain_uuid is also used.
This commit is contained in:
@@ -153,7 +153,6 @@
|
||||
$sql .= " from v_device_lines ";
|
||||
$sql .= " where domain_uuid = e.domain_uuid ";
|
||||
$sql .= " and user_id = e.extension ";
|
||||
$sql .= " and server_address = e.user_context ";
|
||||
$sql .= " limit 1) ";
|
||||
$sql .= ") AS device_address, ";
|
||||
}
|
||||
@@ -166,7 +165,6 @@
|
||||
$sql .= " from v_device_lines ";
|
||||
$sql .= " where domain_uuid = e.domain_uuid ";
|
||||
$sql .= " and user_id = e.extension ";
|
||||
$sql .= " and server_address = e.user_context ";
|
||||
$sql .= " limit 1) ";
|
||||
$sql .= ") AS device_template, ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user