From 228a9ac882e2c716c95a341df298058af5fc7cba Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 9 Aug 2016 15:48:05 +0100 Subject: [PATCH] Bug 17091: Remove explicit declaration of Koha::Objects->count Test plan: prove t/db_dependent/Koha/Objects.t should return green Signed-off-by: Hector Castro Signed-off-by: Kyle M Hall Signed-off-by: Brendan Gallagher --- Koha/Objects.pm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Koha/Objects.pm b/Koha/Objects.pm index 602a725765..0dba0e01bd 100644 --- a/Koha/Objects.pm +++ b/Koha/Objects.pm @@ -130,18 +130,6 @@ sub search { } } -=head3 Koha::Objects->count(); - -my @objects = Koha::Objects->count($params); - -=cut - -sub count { - my ( $self, $params ) = @_; - - return $self->_resultset()->count($params); -} - =head3 Koha::Objects->pager(); my $pager = Koha::Objects->pager; -- 2.39.5