Commit 26c3c5bd authored by FX Deltombe's avatar FX Deltombe

Useless method 'LL::NG::Portal::SharedConf::getProtectedSites' removed

parent 1da7f7c3
...@@ -366,8 +366,7 @@ session information. ...@@ -366,8 +366,7 @@ session information.
=item * globalStorageOptions : parameters to bind to L<Apache::Session> module =item * globalStorageOptions : parameters to bind to L<Apache::Session> module
=item * locationRules : this parameter is used by L<Lemonldap::NG::Handler> to =item * locationRules : this parameter is used by L<Lemonldap::NG::Handler> to
read the rules. It can be set in the portal just to display protected sites by read the rules.
the function C<getProtectedSites>.
=item * authentication: sheme to authenticate users (default: "ldap"). It can =item * authentication: sheme to authenticate users (default: "ldap"). It can
be set to: be set to:
......
...@@ -72,18 +72,6 @@ sub getConf { ...@@ -72,18 +72,6 @@ sub getConf {
1; 1;
} }
## @method list getProtectedSites()
# With SharedConf, $locationRules contains a hash table with virtual hosts as
# keys. So we can use it to know all protected virtual hosts.
# @return list list of protected virtual hosts.
sub getProtectedSites {
my $self = shift;
my @tab = ();
return ( keys %{ $self->{locationRules} } )
if ( ref $self->{locationRules} );
return ();
}
sub __lmConf { sub __lmConf {
my $self = shift; my $self = shift;
return $self->{lmConf} if ( $self->{lmConf} ); return $self->{lmConf} if ( $self->{lmConf} );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment