From 0cf387f306d78beb9d9b53cbb747b251ad985d28 Mon Sep 17 00:00:00 2001 From: frytimo Date: Thu, 13 Feb 2025 12:10:33 -0400 Subject: [PATCH] do not save event_guard logs to transactions (#7254) Event Guard already has a log table so no need to duplicate the transactions in another table --- app/event_guard/resources/service/event_guard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/event_guard/resources/service/event_guard.php b/app/event_guard/resources/service/event_guard.php index b916d578df..e7c8db7090 100644 --- a/app/event_guard/resources/service/event_guard.php +++ b/app/event_guard/resources/service/event_guard.php @@ -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