From 850f1b5b73a684f19689c15b28933308fa870c42 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 --- opac/opac-user.pl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/opac/opac-user.pl b/opac/opac-user.pl index ab3d8a786f..c1e77ddb12 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -310,13 +310,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.11.0