From ccdc55d66b91d12397e2e592eed5d4b002d76861 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 This patch reverts bug 17069 Test plan: Create a new patron category prove t/db_dependent/Koha/Patron/Categories.t should return green --- 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.8.1