ffzg/recall_notices.pl: added --interval and --dedup
[koha.git] / opac / opac-routing-lists.pl
old mode 100644 (file)
new mode 100755 (executable)
index 331cc4d..8c806e9
@@ -42,17 +42,9 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
 );
 
 my $patron = Koha::Patrons->find( $borrowernumber );
-my $category = $patron->category;
-my $borrower= $patron->unblessed;
-$borrower->{description} = $category->description;
-$borrower->{category_type} = $category->category_type;
-$template->param( BORROWER_INFO => $borrower );
-
-my @routinglists = $patron->get_routinglists();
 
 $template->param(
-    routinglists  => \@routinglists,
-    routinglistview => 1,
+    routinglistsview => 1,
 );
 
 output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 };