mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add an option for a default setting that uses provision -> auto_insert_enabled type: boolean value: true.
This will not be set by default so the provision auto insert will be disabled by default.
This commit is contained in:
@@ -266,7 +266,7 @@ include "root.php";
|
||||
unset($template_list);
|
||||
|
||||
//mac address does not exist in the table so add it
|
||||
if (strlen($domain_uuid) > 0) {
|
||||
if ($_SESSION['provision']['auto_insert_enabled']['boolean'] == "true" and strlen($domain_uuid) > 0) {
|
||||
$device_uuid = uuid();
|
||||
$sql = "INSERT INTO v_devices ";
|
||||
$sql .= "(";
|
||||
|
||||
Reference in New Issue
Block a user