From b75d9dc25800fde1218ca9896e3a69a8da54de96 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 20 Dec 2017 14:10:44 -0300 Subject: [PATCH] Bug 19855: Remove getalert from moremember.pl This is not used later and seems unused since: commit b38997925f603dc9784c25d3db3501644c19e068 Date: Wed Oct 26 09:11:02 2005 +0000 big commit, still breaking things... Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- members/moremember.pl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/members/moremember.pl b/members/moremember.pl index c5d13e85ac..dbe9896377 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -247,13 +247,6 @@ if ($borrowernumber) { ->count( { borrowernumber => $borrowernumber } ) ); } -# current alert subscriptions -my $alerts = getalert($borrowernumber); -foreach (@$alerts) { - $_->{ $_->{type} } = 1; - $_->{relatedto} = findrelatedto( $_->{type}, $_->{externalid} ); -} - # Add sync data to the user data if ( C4::Context->preference('NorwegianPatronDBEnable') && C4::Context->preference('NorwegianPatronDBEnable') == 1 ) { my $sync = NLGetSyncDataFromBorrowernumber( $borrowernumber ); -- 2.39.5