Commit cad57043 authored by Xavier Guimard's avatar Xavier Guimard

Clean code

parent 4c603c9e
......@@ -457,7 +457,7 @@ sub conditionSub {
# logout_app
if ( $cond =~ /^logout_app(?:\s+(.*))?$/i ) {
my $u = $1 || &{ $class->tsv->{portal} }();
my $u = $1 || $class->tsv->{portal}->();
eval 'use Apache2::Filter' unless ( $INC{"Apache2/Filter.pm"} );
return (
sub {
......@@ -472,7 +472,7 @@ sub conditionSub {
);
}
elsif ( $cond =~ /^logout_app_sso(?:\s+(.*))?$/i ) {
my $u = $1 || &{ $class->tsv->{portal} }();
my $u = $1 || $class->tsv->{portal}->();
eval 'use Apache2::Filter' unless ( $INC{"Apache2/Filter.pm"} );
return (
sub {
......
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