mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 23:34: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
|
@ -70,14 +70,14 @@ try{
|
|||
|
||||
exit();
|
||||
}
|
||||
catch(Exceptions\LoginRequiredException $ex){
|
||||
catch(Exceptions\LoginRequiredException){
|
||||
header('WWW-Authenticate: Basic realm="Enter your Patrons Circle email address and leave the password empty."');
|
||||
http_response_code(401);
|
||||
}
|
||||
catch(Exceptions\InvalidPermissionsException $ex){
|
||||
catch(Exceptions\InvalidPermissionsException){
|
||||
http_response_code(403);
|
||||
}
|
||||
catch(Exceptions\InvalidFileException $ex){
|
||||
catch(Exceptions\InvalidFileException){
|
||||
Template::Emit404();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue