From 01205181b283af6babae8bc40a77db3306bb0225 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Thu, 18 Apr 2024 16:20:53 +0200 Subject: [PATCH] Bug 36367: Remove call to non-existent subroutine new_userenv Signed-off-by: Julian Maurice Signed-off-by: Martin Renvoize --- Koha/REST/V1/Auth.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Koha/REST/V1/Auth.pm b/Koha/REST/V1/Auth.pm index 5f585b27def..c10e81cf8a8 100644 --- a/Koha/REST/V1/Auth.pm +++ b/Koha/REST/V1/Auth.pm @@ -568,7 +568,6 @@ sub _set_userenv { $THE_library = $patron->library; } - C4::Context->new_userenv(); C4::Context->set_userenv( $patron->borrowernumber, # number, $patron->userid, # userid, -- 2.45.1