From e6441436f45895d96ebe632cc841da82ccd72290 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 20 Dec 2017 14:12:01 -0300 Subject: [PATCH] Bug 19855: Remove getalert from opac-user.pl This is not used later and seems unused since: commit e61173aa8eb23c111a707eba2cfbd2003df709bf Date: Sun May 21 02:29:09 2006 +0000 syncing dev-week and HEAD Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- opac/opac-user.pl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/opac/opac-user.pl b/opac/opac-user.pl index 3400f39d42..60a5df9b76 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -306,13 +306,6 @@ $template->param( showpriority => $show_priority, ); -# current alert subscriptions -my $alerts = getalert($borrowernumber); -foreach ( @$alerts ) { - $_->{ $_->{type} } = 1; - $_->{relatedto} = findrelatedto( $_->{type}, $_->{externalid} ); -} - if (C4::Context->preference('BakerTaylorEnabled')) { $template->param( BakerTaylorEnabled => 1, -- 2.39.5