From 1a77758989619086512829a7f7904c9370c6715d 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 Signed-off-by: Brendan Gallagher --- Koha/Objects.pm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Koha/Objects.pm b/Koha/Objects.pm index 03f39dc009..602a725765 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.39.5