From 08625b27660042a3f78f34d715b0f2d898796707 Mon Sep 17 00:00:00 2001 From: Baptiste Wojtkowski Date: Tue, 8 Apr 2025 15:31:50 +0200 Subject: [PATCH] Bug 39726: Remove op connectDuplicate from acqui/newordersuggestions.pl 15:27:09> git grep connectDuplicate acqui/newordersuggestion.pl: * connectDuplicate : acqui/newordersuggestion.pl:if ( $op eq 'connectDuplicate' ) { connectDuplicate is never called from any template code is hence removed --- acqui/newordersuggestion.pl | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/acqui/newordersuggestion.pl b/acqui/newordersuggestion.pl index e41381f4..180af5a3 100755 --- a/acqui/newordersuggestion.pl +++ b/acqui/newordersuggestion.pl @@ -75,15 +75,6 @@ is the biblionumber to put to the new suggestion. the id of the suggestion to select. -=item op - -can be equal to - * connectDuplicate : - then call to the function : ConnectSuggestionAndBiblio. - i.e set the biblionumber of this suggestion. - * else : - is the default value. - =back =cut @@ -124,10 +115,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( } ); -if ( $op eq 'connectDuplicate' ) { - ConnectSuggestionAndBiblio( $suggestionid, $duplicateNumber ); -} - my $suggestions = [ Koha::Suggestions->search_limited( { -- 2.30.2