Pass the database object to the settings object

This commit is contained in:
FusionPBX 2024-08-06 02:40:50 -06:00 committed by GitHub
parent 1252649a0c
commit 1c22b49d5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -646,7 +646,7 @@ if (!class_exists('domains')) {
$context = $domain_name;
//get the email queue settings
$setting = new settings(["domain_uuid" => $domain_uuid]);
$setting = new settings(["database" => $this->database, "domain_uuid" => $domain_uuid]);
//get the list of installed apps from the core and mod directories and run the php code in app_defaults.php
$default_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_defaults.php");