From cb2ec7c9a78487f295fb020448c8a419ff265578 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 9 Aug 2016 15:48:05 +0100 Subject: [PATCH] [SIGNED-OFF]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 --- 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; -- 1.7.10.4