From a8907872d13c30b405883ae15aeff896ca0049c4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 8 Aug 2016 14:14:36 +0100 Subject: [PATCH] Bug 17080: categories.checkprevcheckout - use the default value defined in the DBIx::Class schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch reverts bug 17069 Test plan: Create a new patron category prove t/db_dependent/Koha/Patron/Categories.t should return green Signed-off-by: Marc Véron Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- Koha/Patron/Category.pm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Koha/Patron/Category.pm b/Koha/Patron/Category.pm index 331a1ce2cb..7b8c07effd 100644 --- a/Koha/Patron/Category.pm +++ b/Koha/Patron/Category.pm @@ -36,13 +36,6 @@ Koha::Patron;;Category - Koha Patron;;Category Object class =cut -sub store { - my ( $self ) = @_; - $self->checkprevcheckout('inherit') - unless defined $self->checkprevcheckout; - return $self->SUPER::store; -} - =head3 default_messaging my $messaging = $category->default_messaging(); -- 2.39.5