From: Tomas Cohen Arazi <[email protected]>

This patch removes an unused occurence of the $branches variable. Probably a
leftover from a recent rewrite.

To test:
- Run:
  $ git grep '$branches' circ/circulation.pl
=> FAIL: Only on occurence of the variable
- Apply the patch
- Run:
  $ git grep '$branches' circ/circulation.pl
=> SUCCESS: The variable has been removed
- Sign off :-D

Regards

Signed-off-by: Srdjan <[email protected]>
---
 circ/circulation.pl | 2 --
 1 file changed, 2 deletions(-)

diff --git a/circ/circulation.pl b/circ/circulation.pl
index b2bcdd1..b2201cf 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -125,8 +125,6 @@ my ( $template, $loggedinuser, $cookie ) = 
get_template_and_user (
     }
 );
 
-my $branches = GetBranches();
-
 my $force_allow_issue = $query->param('forceallow') || 0;
 if (!C4::Auth::haspermission( C4::Context->userenv->{id} , { circulate => 
'force_checkout' } )) {
     $force_allow_issue = 0;
-- 
2.7.4
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to