Bug 15758: Koha::Libraries - Remove GetBranchesLoop
[koha.git] / admin / clone-rules.pl
index d2412ae..9fd330f 100755 (executable)
@@ -33,7 +33,6 @@ use C4::Output;
 use C4::Auth;
 use C4::Koha;
 use C4::Debug;
-use C4::Branch; # GetBranchesLoop
 
 my $input = new CGI;
 my $dbh = C4::Context->dbh;
@@ -49,13 +48,10 @@ my ($template, $loggedinuser, $cookie)
 
 my $frombranch = $input->param("frombranch");
 my $tobranch   = $input->param("tobranch");
-my $branchloop = GetBranchesLoop;
 
 $template->param(frombranch     => $frombranch)                if ($frombranch);
 $template->param(tobranch       => $tobranch)                  if ($tobranch);
 
-$template->param(branchloop => $branchloop);
-
 if ($frombranch && $tobranch) {
 
     my $error;