From 3fe54b3907d41a6716f74fc1299766555ef4d37b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 17 Oct 2024 09:22:41 +0100 Subject: [PATCH] Bug 38175: (QA follow-up) Remove superflous method If all we're doing is calling SUPER, then we don't need to wrap ;P Signed-off-by: Martin Renvoize --- Koha/Booking.pm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Koha/Booking.pm b/Koha/Booking.pm index d1a1d53e475..c0c1b67f8ba 100644 --- a/Koha/Booking.pm +++ b/Koha/Booking.pm @@ -298,18 +298,6 @@ sub to_api_mapping { return {}; } -=head3 delete - - my $deleted = $booking->delete(); - -=cut - -sub delete { - my ($self) = @_; - my $deleted = $self->SUPER::delete($self); - return $deleted; -} - =head3 edit This method allows patching a booking -- 2.47.0