Remove unused exception variables, now that this is possible with PHP8

This commit is contained in:
Alex Cabal 2023-06-06 21:00:12 -05:00
parent fe16cb3b21
commit 8127f0c7e2
36 changed files with 60 additions and 63 deletions

View file

@ -40,7 +40,7 @@ class Payment extends PropertiesBase{
where UserId = ?
', [$this->User->Name, $this->User->UserId]);
}
catch(Exceptions\InvalidUserException $ex){
catch(Exceptions\InvalidUserException){
// User doesn't exist, create it now
$this->User->Create();
}