Upgrade: Enable ring group destinations by default
This commit is contained in:
parent
df6bc02489
commit
d31d028a0c
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2019
|
||||
Portions created by the Initial Developer are Copyright (C) 2019 - 2023
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
|
@ -63,6 +63,14 @@ if ($domains_processed == 1) {
|
|||
}
|
||||
}
|
||||
|
||||
//enable ring group destinations by default
|
||||
$sql = "update v_ring_group_destinations ";
|
||||
$sql .= "set destination_enabled = true ";
|
||||
$sql .= "where destination_enabled is null; ";
|
||||
$database = new database;
|
||||
$database->execute($sql, null);
|
||||
unset($sql);
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue