mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Remove unused exception variables, now that this is possible with PHP8
This commit is contained in:
parent
fe16cb3b21
commit
8127f0c7e2
36 changed files with 60 additions and 63 deletions
|
@ -79,7 +79,7 @@ try{
|
|||
// "Success, no content"
|
||||
http_response_code(204);
|
||||
}
|
||||
catch(Exceptions\InvalidCredentialsException $ex){
|
||||
catch(Exceptions\InvalidCredentialsException){
|
||||
// "Forbidden"
|
||||
$log->Write('Invalid key: ' . ($_SERVER['HTTP_X_SE_KEY'] ?? ''));
|
||||
http_response_code(403);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue