Do not save event_guard logs to transactions

This commit is contained in:
FusionPBX 2025-02-15 12:02:03 -07:00 committed by GitHub
parent a8f0c03746
commit 4604509bfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@
$p->add('event_guard_log_edit', 'temp');
$database->app_name = 'event guard';
$database->app_uuid = 'c5b86612-1514-40cb-8e2c-3f01a8f6f637';
$database->save($array);
$database->save($array, false);
//$message = $database->message;
$p->delete('event_guard_log_edit', 'temp');
unset($array);
@ -353,7 +353,7 @@
$p->add('event_guard_log_add', 'temp');
$database->app_name = 'event guard';
$database->app_uuid = 'c5b86612-1514-40cb-8e2c-3f01a8f6f637';
$database->save($array);
$database->save($array, false);
$p->delete('event_guard_log_add', 'temp');
//send debug information to the console