View | Details | Raw Unified | Return to bug 29744
Collapse All | Expand All

(-)a/C4/Auth.pm (-3 / +2 lines)
Lines 55-63 use Koha::CookieManager; Link Here
55
use vars qw($ldap $cas $caslogout);
55
use vars qw($ldap $cas $caslogout);
56
our (@ISA, @EXPORT_OK);
56
our (@ISA, @EXPORT_OK);
57
57
58
#NOTE: The utility of keeping the safe_exit function is that it can be easily re-defined in unit tests and plugins
58
sub safe_exit {
59
sub safe_exit {
59
    if   (C4::Context::psgi_env) { die 'psgi:exit' }
60
    exit;
60
    else            { exit }
61
}
61
}
62
62
63
63
64
- 

Return to bug 29744