From 8a5c2d3b3664df95128c028d92cc054f682a4de5 Mon Sep 17 00:00:00 2001 From: toins Date: Thu, 27 Jul 2006 13:48:02 +0000 Subject: [PATCH] Deleted a duplicated function. --- C4/Members.pm | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/C4/Members.pm b/C4/Members.pm index f9997bd2cc..37063260dd 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -166,7 +166,7 @@ the C table in the Koha database. =cut -=head3 +=head3 GetFlagsAndBranchFromBorrower =over 4 @@ -1374,29 +1374,6 @@ sub GetBorrowersFromSurname { return ($count,\@results); } -=head2 GetBranchCodeFromBorrowers - -=over 4 - -$sth = GetBranchCodeFromBorrowers(); - -this function just prepare the SQL request. -After this function, don't forget to execute it by using $sth->execute($borrowernumber) -return : -$sth = $dbh->prepare($query). - -=back - -=cut -sub GetBranchCodeFromBorrowers { - my $dbh = C4::Context->dbh; - my $query = qq| - SELECT flags, branchcode - FROM borrowers - WHERE borrowernumber = ? - |; - return $dbh->prepare($query); -} END { } # module clean-up code here (global destructor) 1; -- 2.39.5