PHP 8.2 Deprecated dynamic properties
This commit is contained in:
parent
bb9f48296a
commit
f506b00b57
|
|
@ -178,7 +178,6 @@
|
|||
|
||||
//get the conference room count
|
||||
$conference_center = new conference_centers;
|
||||
$conference_center->db = $db;
|
||||
$conference_center->domain_uuid = $_SESSION['domain_uuid'];
|
||||
if (!empty($search)) {
|
||||
$conference_center->search = $search;
|
||||
|
|
|
|||
|
|
@ -173,7 +173,6 @@
|
|||
|
||||
//add voicemail via class
|
||||
$ext = new extension;
|
||||
$ext->db = $db;
|
||||
$ext->domain_uuid = $domain_uuid;
|
||||
$ext->extension = $extension_new;
|
||||
$ext->number_alias = $number_alias_new;
|
||||
|
|
|
|||
|
|
@ -385,7 +385,6 @@
|
|||
|
||||
//dialplan add or update
|
||||
$c = new fax;
|
||||
$c->db = $db;
|
||||
$c->domain_uuid = $_SESSION['domain_uuid'];
|
||||
$c->dialplan_uuid = $dialplan_uuid;
|
||||
$c->fax_name = $fax_name;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@
|
|||
public $order_by;
|
||||
public $order;
|
||||
public $type;
|
||||
public $db;
|
||||
|
||||
/**
|
||||
* declare private variables
|
||||
|
|
@ -939,7 +938,6 @@
|
|||
//example voicemail messages
|
||||
//require_once "app/voicemails/resources/classes/voicemail.php";
|
||||
//$voicemail = new voicemail;
|
||||
//$voicemail->db = $db;
|
||||
//$voicemail->voicemail_uuid = $voicemail_uuid;
|
||||
//$voicemail->order_by = $order_by;
|
||||
//$voicemail->order = $order;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
|
||||
//get the voicemail
|
||||
$vm = new voicemail;
|
||||
$vm->db = $db;
|
||||
$vm->domain_uuid = $_SESSION['domain_uuid'];
|
||||
$vm->order_by = $order_by ?? null;
|
||||
$vm->order = $order ?? null;
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@
|
|||
foreach ($voicemail_message_uuids as $voicemail_message_uuid) {
|
||||
if (is_uuid($voicemail_uuid) && is_uuid($voicemail_message_uuid)) {
|
||||
$voicemail = new voicemail;
|
||||
$voicemail->db = $db;
|
||||
$voicemail->domain_uuid = $_SESSION['domain_uuid'];
|
||||
$voicemail->voicemail_uuid = $voicemail_uuid;
|
||||
$voicemail->voicemail_message_uuid = $voicemail_message_uuid;
|
||||
|
|
|
|||
|
|
@ -175,7 +175,6 @@ class plugin_database {
|
|||
|
||||
//set the setting arrays
|
||||
$domain = new domains();
|
||||
$domain->db = $db;
|
||||
$domain->set();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@
|
|||
//permission restore default
|
||||
require_once "core/groups/resources/classes/permission.php";
|
||||
$permission = new permission;
|
||||
$permission->db = $db;
|
||||
$permission->restore();
|
||||
|
||||
//redirect the users
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@ Mark J Crane <markjcrane@fusionpbx.com>
|
|||
//reset session variables to default
|
||||
require "resources/classes/domains.php";
|
||||
$domain = new domains();
|
||||
$domain->db = $db;
|
||||
$domain->set();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -306,7 +306,6 @@ if (!function_exists('fax_split_dtmf')) {
|
|||
$_SESSION["domain_name"] = $domain_name;
|
||||
//set the setting arrays
|
||||
$domain = new domains();
|
||||
$domain->db = $db;
|
||||
$domain->set();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue