From d5a6d987c9dc26b2936152ccbe21f1d54066a83d 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 5f585b27de..c10e81cf8a 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.39.5