From d599694ef5d9d7a8798d16815d839c9c286d6476 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 24 Feb 2023 21:01:43 +0000 Subject: [PATCH] Bug 33020: (QA follow-up) POD and chmod Signed-off-by: Tomas Cohen Arazi --- Koha/Logger.pm | 9 +++++++++ t/db_dependent/www/rest_api.t | 0 2 files changed, 9 insertions(+) mode change 100644 => 100755 t/db_dependent/www/rest_api.t diff --git a/Koha/Logger.pm b/Koha/Logger.pm index 66c78a6735..3f335c2981 100644 --- a/Koha/Logger.pm +++ b/Koha/Logger.pm @@ -204,6 +204,15 @@ sub context { return $self; } +=head2 history + +Similar to above, Mojolicious has a "history" method and will die +on it if it's missing from the logger. + +Note: We are just preventing a crash here not returning a new history logger. + +=cut + sub history { my ( $self, @history) = @_; if ( @history ) { diff --git a/t/db_dependent/www/rest_api.t b/t/db_dependent/www/rest_api.t old mode 100644 new mode 100755 -- 2.39.5