Bug 12159: Fix getting extended patron attributes for circ-menu
[koha.git] / members / member-password.pl
index 013e7e5..256c725 100755 (executable)
@@ -13,7 +13,6 @@ use C4::Context;
 use C4::Members;
 use C4::Circulation;
 use CGI qw ( -utf8 );
-use C4::Members::Attributes qw(GetBorrowerAttributes);
 use Koha::AuthUtils;
 use Koha::Token;
 
@@ -98,14 +97,6 @@ if ( $newpassword and not @errors) {
     };
 }
 
-if ( C4::Context->preference('ExtendedPatronAttributes') ) {
-    my $attributes = GetBorrowerAttributes( $patron_id );
-    $template->param(
-        ExtendedPatronAttributes => 1,
-        extendedattributes       => $attributes
-    );
-}
-
 $template->param(
     patron      => $patron,
     destination => $destination,