|
Lines 666-671
sub userenv {
Link Here
|
| 666 |
return $context->{userenv}; |
666 |
return $context->{userenv}; |
| 667 |
} |
667 |
} |
| 668 |
|
668 |
|
|
|
669 |
=head2 set_userenv_from_session |
| 670 |
|
| 671 |
C4::Context->set_userenv_from_session($session); |
| 672 |
|
| 673 |
A wrapper around set_userenv, filling userenv from $session. |
| 674 |
And adding the session id into userenv! |
| 675 |
|
| 676 |
Called by C4/Auth.pm. |
| 677 |
|
| 678 |
=cut |
| 679 |
|
| 669 |
sub set_userenv_from_session { |
680 |
sub set_userenv_from_session { |
| 670 |
my ( $class, $session ) = @_; |
681 |
my ( $class, $session ) = @_; |
| 671 |
return $class->set_userenv( |
682 |
return $class->set_userenv( |
| 672 |
- |
|
|