Bug 41557: Remove unused vars sent to template
488 LoginFirstname => ( C4::Context->userenv ? C4::Context->userenv->{"firstname"} : "Bel" ),
489 LoginSurname => C4::Context->userenv ? C4::Context->userenv->{"surname"} : "Inconnu",
490 emailaddress => C4::Context->userenv ? C4::Context->userenv->{"emailaddress"} : undef,
Test plan:
`git grep` the 3 variables and confirm that there is no occurrences in
the templates (.tt/.inc files)
Signed-off-by: Connor Cameron-Jones <22264cc@hvhs.school.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
b4cbe3c6fe
commit
ac1d6a7f2c
|
|
@ -488,9 +488,6 @@ sub get_template_and_user {
|
|||
GoogleJackets => C4::Context->preference("GoogleJackets"),
|
||||
OpenLibraryCovers => C4::Context->preference("OpenLibraryCovers"),
|
||||
KohaAdminEmailAddress => "" . C4::Context->preference("KohaAdminEmailAddress"),
|
||||
LoginFirstname => ( C4::Context->userenv ? C4::Context->userenv->{"firstname"} : "Bel" ),
|
||||
LoginSurname => C4::Context->userenv ? C4::Context->userenv->{"surname"} : "Inconnu",
|
||||
emailaddress => C4::Context->userenv ? C4::Context->userenv->{"emailaddress"} : undef,
|
||||
TagsEnabled => C4::Context->preference("TagsEnabled"),
|
||||
hide_marc => C4::Context->preference("hide_marc"),
|
||||
item_level_itypes => C4::Context->preference('item-level_itypes'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue