use vars qw($ldap $cas $caslogout);
our (@ISA, @EXPORT_OK);
#NOTE: The utility of keeping the safe_exit function is that it can be easily re-defined in unit tests and plugins
sub safe_exit {
if (C4::Context::psgi_env) { die 'psgi:exit' }
exit;
else { exit }
}
-