Database save method set to false. (#6215)

* When database save set to false for app_defaults.php
This commit is contained in:
FusionPBX
2021-12-24 12:42:16 -07:00
committed by GitHub
parent 5c4da3262e
commit 67be72b452
19 changed files with 41 additions and 41 deletions

View File

@@ -55,7 +55,7 @@ if ($domains_processed == 1) {
$database = new database;
$database->app_name = 'call_centers';
$database->app_uuid = '95788e50-9500-079e-2807-fd530b0ea370';
$database->save($array);
$database->save($array, false);
$response = $database->message;
unset($array);
@@ -153,7 +153,7 @@ if ($domains_processed == 1) {
}
}
unset ($prep_statement);
//save the array to the database
if (is_array($array)) {
//add the dialplan permission
@@ -165,7 +165,7 @@ if ($domains_processed == 1) {
$database = new database;
$database->app_name = 'call_centers';
$database->app_uuid = '95788e50-9500-079e-2807-fd530b0ea370';
$database->save($array);
$database->save($array, false);
$message = $database->message;
//remove the temporary permission