Remove unused 'no strict subs' (#595)

environments/ppa-mbqj77/deployments/1
Clément Oudot 8 years ago
parent 4f6819e07a
commit 80db34a4f2
  1. 3
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/SAML.pm
  2. 3
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/SAML.pm

@ -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,

Loading…
Cancel
Save