Bug 12159: Fix getting extended patron attributes for circ-menu
[koha.git] / members / boraccount.pl
index 74f8e29..9121a8f 100755 (executable)
@@ -29,7 +29,6 @@ use C4::Output;
 use CGI qw ( -utf8 );
 use C4::Members;
 use C4::Accounts;
-use C4::Members::Attributes qw(GetBorrowerAttributes);
 use Koha::Patrons;
 use Koha::Patron::Categories;
 
@@ -79,14 +78,6 @@ if($total <= 0){
         $totalcredit = 1;
 }
 
-if (C4::Context->preference('ExtendedPatronAttributes')) {
-    my $attributes = GetBorrowerAttributes($borrowernumber);
-    $template->param(
-        ExtendedPatronAttributes => 1,
-        extendedattributes => $attributes
-    );
-}
-
 $template->param(
     patron              => $patron,
     finesview           => 1,