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:
parent
8098dfbe3a
commit
28fd57d78a
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue