Removing default selection of userbranch for research
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 4 Nov 2009 15:58:12 +0000 (16:58 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Fri, 6 Nov 2009 11:33:15 +0000 (12:33 +0100)
members/member.pl

index f6bc2f2..7b2d217 100755 (executable)
@@ -88,11 +88,6 @@ $member =~ s/\*/%/g;
 
 my ($count,$results);
 
-if (C4::Context->preference("IndependantBranches")){
-   if (C4::Context->userenv && C4::Context->userenv->{flags} % 2 !=1 && C4::Context->userenv->{'branch'}){
-        $$patron{branchcode}=C4::Context->userenv->{'branch'} unless (C4::Context->userenv->{'branch'} eq "insecure");
-   }
-}
 $$patron{firstname}.="\%" if ($$patron{firstname});
 $$patron{surname}.="\%" if ($$patron{surname});