@@ -, +, @@ --- Koha/Template/Plugin/Branches.pm | 7 ----- Koha/Template/Plugin/Koha.pm | 5 ---- .../prog/en/modules/clubs/clubs-add-modify.tt | 8 +----- .../intranet-tmpl/prog/en/modules/clubs/clubs.tt | 4 +-- .../prog/en/modules/clubs/templates-add-modify.tt | 33 ++++------------------ 5 files changed, 8 insertions(+), 49 deletions(-) --- a/Koha/Template/Plugin/Branches.pm +++ a/Koha/Template/Plugin/Branches.pm @@ -27,13 +27,6 @@ use C4::Koha; use C4::Context; use Koha::Libraries; -sub GetBranches { - my ($self) = @_; - - my $dbh = C4::Context->dbh; - return $dbh->selectall_arrayref( "SELECT * FROM branches", { Slice => {} } ); -} - sub GetName { my ( $self, $branchcode ) = @_; --- a/Koha/Template/Plugin/Koha.pm +++ a/Koha/Template/Plugin/Koha.pm @@ -58,9 +58,4 @@ sub Version { }; } -sub UserEnv { - my ( $self, $key ) = @_; - my $userenv = C4::Context->userenv; - return $userenv ? $userenv->{$key} : undef; -} 1; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt @@ -66,13 +66,7 @@ --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt @@ -4,7 +4,7 @@ Koha › Tools › Patron clubs [% INCLUDE 'doc-head-close.inc' %] - + [% INCLUDE 'datatables.inc' %]