From d7a633048e6681e356be24c8192803181abd2383 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 18 Dec 2023 12:51:16 +0000 Subject: [PATCH] Bug 35479: (QA follow-up): Tidy Signed-off-by: Pedro Amorim Signed-off-by: Tomas Cohen Arazi Signed-off-by: Katrin Fischer --- misc/cronjobs/plugins_nightly.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/cronjobs/plugins_nightly.pl b/misc/cronjobs/plugins_nightly.pl index 64d3529002..f30633ff07 100755 --- a/misc/cronjobs/plugins_nightly.pl +++ b/misc/cronjobs/plugins_nightly.pl @@ -24,12 +24,12 @@ if ( C4::Context->config("enable_plugins") ) { foreach my $plugin (@plugins) { my $plugin_name = ref $plugin; try { - cronlogaction({ info => "$plugin_name" }); + cronlogaction( { info => "$plugin_name" } ); $plugin->cronjob_nightly(); - cronlogaction({ action => "End", info => "$plugin_name COMPLETED" }); + cronlogaction( { action => "End", info => "$plugin_name COMPLETED" } ); } catch { - cronlogaction({ action => "Error", info => "$plugin_name FAILED with error: $_" }); + cronlogaction( { action => "Error", info => "$plugin_name FAILED with error: $_" } ); warn "$_"; $logger->warn("$_"); }; -- 2.39.5