From 9296ee0756bae4bb8035b7b857f4b8b367efbd5b 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 --- 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 dcd85c114a..8e5ced1269 100644 --- a/Koha/REST/V1/Auth.pm +++ b/Koha/REST/V1/Auth.pm @@ -566,7 +566,6 @@ sub _set_userenv { $THE_library = $patron->library; } - C4::Context->new_userenv(); C4::Context->set_userenv( $patron->borrowernumber, # number, $patron->userid, # userid, -- 2.30.2