From a9076c7990646fba8ad2ea7b674361077c65369e 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=UTF-8 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 --- Koha/Patron/Category.pm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Koha/Patron/Category.pm b/Koha/Patron/Category.pm index 06012ec..7b17c8c 100644 --- a/Koha/Patron/Category.pm +++ b/Koha/Patron/Category.pm @@ -35,13 +35,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.1.4