Bug 19160: Add POD

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Kyle M Hall 2018-03-02 12:36:20 +00:00 committed by Jonathan Druart
parent c55515d2da
commit 3dda23db34
1 changed files with 10 additions and 1 deletions

View File

@ -52,6 +52,10 @@ if (multipleAuth()) {
$casservers = { 'default' => C4::Context->preference('casServerUrl') };
}
=head1 Subroutines
=cut
# Is there a configuration file for multiple cas servers?
sub multipleAuth {
return (-e qq($yamlauthfile));
@ -228,7 +232,12 @@ sub _url_with_get_params {
return $uri_base_part . $uri_params_part;
}
# CAS single logout
=head2 logout_if_required
If using CAS, this subroutine will trigger single-signout of the CAS server.
=cut
sub logout_if_required {
my ( $query ) = @_;
# Check we havent been hit by a logout call