From f130978e8b171de18fc588bea955c61afb4ad1f6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 14 Feb 2020 13:02:05 +0100 Subject: [PATCH] Bug 21746: Remove 3 more uneeded variables from C4::Auth They are not used in the templates --- C4/Auth.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 917f245df8..9c24a3c339 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -460,9 +460,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'), -- 2.11.0