mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Database save method set to false. (#6215)
* When database save set to false for app_defaults.php
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user