From 5d78d55ecafe0221092b3ba0f1e963555bb8457b 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 --- members/moremember.pl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/members/moremember.pl b/members/moremember.pl index f898adb5f6..b8c3893a2c 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -249,13 +249,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.15.1 (Apple Git-101)