Bug 11855: Tiny code cleanup in members
[1] Template variable actionname is not used in the associated template. This could be a copy-paste from serials/member-search.pl. Consequently, the module is no longer needed in member.pl. Template members/search.tt still contains actionname; it seems that this emplate is not used too. [2] $template_name not used in members-home.pl. Test plan: [1] Go to Patrons. If you reach that page, you tested members-home.pl [2] Add a new patron. [3] Search for a patron. Edit one. Followed test plan. No problems found. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
ea5040bad2
commit
fad3d646ff
|
|
@ -31,7 +31,6 @@ use C4::Members;
|
|||
use C4::Branch;
|
||||
use C4::Category;
|
||||
use Koha::DateUtils;
|
||||
use File::Basename;
|
||||
use Koha::List::Patron;
|
||||
|
||||
my $input = new CGI;
|
||||
|
|
@ -225,7 +224,6 @@ $template->param(
|
|||
branchloop => \@branchloop,
|
||||
categories => \@categories,
|
||||
searching => "1",
|
||||
actionname => basename($0),
|
||||
numresults => $count,
|
||||
resultsloop => \@resultsdata,
|
||||
results_per_page => $resultsperpage,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ use Koha::Borrower::Modifications;
|
|||
|
||||
my $query = new CGI;
|
||||
my $branch = $query->param('branchcode');
|
||||
my $template_name;
|
||||
|
||||
$branch = q{} unless defined $branch;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue