Commit 80db34a4 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Remove unused 'no strict subs' (#595)

parent 4f6819e0
......@@ -678,7 +678,6 @@ sub extractFormInfo {
# Send response depending on request method
# HTTP-REDIRECT
no strict 'subs';
if ( $method == Lasso::Constants::HTTP_METHOD_REDIRECT ) {
# Redirect user to response URL
......@@ -928,7 +927,6 @@ sub extractFormInfo {
# If no method defined, get first HTTP method
unless ( defined $method ) {
no strict 'subs';
my $protocolType = Lasso::Constants::MD_PROTOCOL_TYPE_SINGLE_SIGN_ON;
$method =
$self->getFirstHttpMethod( $self->lassoServer, $idp, $protocolType );
......@@ -1227,7 +1225,6 @@ sub authLogout {
$method = $self->getHttpMethod($method);
# If no method defined, get first HTTP method
no strict 'subs';
unless ( defined $method ) {
my $protocolType = Lasso::Constants::MD_PROTOCOL_TYPE_SINGLE_LOGOUT;
$method =
......
......@@ -738,7 +738,6 @@ sub run {
# Artifact
# Choose method
no strict 'subs';
if ( $artifact
or $protocolProfile ==
Lasso::Constants::LOGIN_PROTOCOL_PROFILE_BRWS_ART )
......@@ -755,7 +754,6 @@ sub run {
}
}
no strict 'subs';
if ( $protocolProfile ==
Lasso::Constants::LOGIN_PROTOCOL_PROFILE_BRWS_ART )
{
......@@ -1293,7 +1291,6 @@ sub sloRelaySoap {
}
# Send the logout request
no strict 'subs';
my ( $rstatus, $rmethod, $rinfo ) =
$self->sendLogoutRequestToProvider( $req, $logout, $providerID,
Lasso::Constants::HTTP_METHOD_SOAP,
......
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