mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -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
|
@ -38,7 +38,7 @@ class NewsletterSubscription extends PropertiesBase{
|
|||
try{
|
||||
$this->User = User::GetByEmail($this->User->Email);
|
||||
}
|
||||
catch(Exceptions\InvalidUserException $ex){
|
||||
catch(Exceptions\InvalidUserException){
|
||||
// User doesn't exist, create the user
|
||||
$this->User->Create();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue