Bug 36863: (QA follow-up): tidy up code
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
e79d407340
commit
6503787f13
|
|
@ -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