From 39a5d362dc339c05bddbcd117bed5cbeb129222c 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 --- Koha/Objects.pm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Koha/Objects.pm b/Koha/Objects.pm index 602a725..0dba0e01 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.1.4