mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Use domains::all() as a static method
This commit is contained in:
@@ -60,8 +60,7 @@
|
||||
$ringbacks = new ringbacks;
|
||||
|
||||
//get the list of domains
|
||||
$domains_object = new domains;
|
||||
$domains = $domains_object->all(false);
|
||||
$domains = domains::all();
|
||||
|
||||
//validate the ringback
|
||||
if (!$ringbacks->valid($ivr_menu_ringback)) {
|
||||
|
||||
Reference in New Issue
Block a user