From 01714b175bf31c634335352bd3272b8997038ff1 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
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
---
 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.8.1