From 3cd27acc4182fcfff191be01d96db4fc6123da58 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 10 Oct 2025 11:29:12 +0200 Subject: [PATCH] Bug 40943: (QA follow-up) Add a few POD lines for new sub Content-Type: text/plain; charset=utf-8 This clears qa warnings. Test plan: Read the POD. Signed-off-by: Marcel de Rooy --- C4/Context.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/C4/Context.pm b/C4/Context.pm index ab0f82bc2e..1b4a9bf82b 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -666,6 +666,17 @@ sub userenv { return $context->{userenv}; } +=head2 set_userenv_from_session + + C4::Context->set_userenv_from_session($session); + +A wrapper around set_userenv, filling userenv from $session. +And adding the session id into userenv! + +Called by C4/Auth.pm. + +=cut + sub set_userenv_from_session { my ( $class, $session ) = @_; return $class->set_userenv( -- 2.39.5