Bug 33020: Add missing Koha::Logger->history

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-02-22 11:02:39 +01:00 committed by Tomas Cohen Arazi
parent 8098dfbe3a
commit 28fd57d78a
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 8 additions and 0 deletions

View File

@ -204,6 +204,14 @@ sub context {
return $self;
}
sub history {
my ( $self, @history) = @_;
if ( @history ) {
$self->{history} = \@history;
}
return $self->{history} || [];
}
=head1 AUTHOR
Kyle M Hall, E<lt>kyle@bywatersolutions.comE<gt>