From 3d7203ea20f2be002745f0f2d020a0b4b412dd09 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 9 Aug 2016 15:46:48 +0100 Subject: [PATCH] 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 Signed-off-by: Kyle M Hall --- 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 -- 2.1.4