Bug 36863: (QA follow-up): tidy up code
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
13e22ae52c
commit
ffd03490ac
|
|
@ -76,8 +76,7 @@ sub call {
|
|||
$error = "wrong_csrf_token";
|
||||
}
|
||||
}
|
||||
}
|
||||
elsif ( !exists $stateless_methods{$request_method} && !exists $stateful_methods{$request_method} ) {
|
||||
} elsif ( !exists $stateless_methods{$request_method} && !exists $stateful_methods{$request_method} ) {
|
||||
$error = sprintf "unknown or unsupported method %s", $request_method;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue