From 1e29f0904aea423f081691a4bc70a240158297f9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 9 Aug 2016 15:46:48 +0100 Subject: [PATCH] [SIGNED-OFF]Bug 17091: Remove explicit declaration of Koha::Objects->update Test plan: prove t/db_dependent/Koha/Objects.t should return green Signed-off-by: Hector Castro --- Koha/Objects.pm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Koha/Objects.pm b/Koha/Objects.pm index 03f39dc..602a725 100644 --- a/Koha/Objects.pm +++ b/Koha/Objects.pm @@ -234,19 +234,6 @@ sub _wrap { return @objects; } -=head3 update - - Koha::Objects->search({ $key => $value})->update( \%values ); - -Sets the specified columns in the resultset to the supplied values in a single query. - -=cut - -sub update { - my ( $self, $params ) = @_; - return $self->_resultset()->update($params); -} - =head3 Koha::Objects->_resultset Returns the internal resultset or creates it if undefined -- 1.7.10.4