From 340308b0d289bef3199d5b6da6fc0983a3ef6b65 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 28 Apr 2025 11:50:05 +0200 Subject: [PATCH] Bug 39711: Remove ->store It's NOT NULL at the DB level, we don't need to deal with that constraint here. --- Koha/Acquisition/Contract.pm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Koha/Acquisition/Contract.pm b/Koha/Acquisition/Contract.pm index 737a3e9e5e6..1a4a559cd47 100644 --- a/Koha/Acquisition/Contract.pm +++ b/Koha/Acquisition/Contract.pm @@ -31,19 +31,6 @@ Koha::Acquisition::Contract - Koha Acquisition Contract Object class =cut -=head3 store - -=cut - -sub store { - my ($self) = @_; - - Koha::Exceptions::MissingParameter->throw("Missing mandatory parameter: booksellerid") - unless $self->booksellerid; - - return $self->SUPER::store(); -} - =head3 _type =cut -- 2.34.1