mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/15276] Rename exception
PHPBB3-15276
This commit is contained in:
parent
ef00bb4da5
commit
41af01b1ee
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,8 @@
|
|||
|
||||
namespace phpbb\avatar\driver;
|
||||
|
||||
use \phpbb\storage\exception\exception as storage_exception;
|
||||
|
||||
/**
|
||||
* Handles avatars uploaded to the board
|
||||
*/
|
||||
|
@ -279,7 +281,7 @@ class upload extends \phpbb\avatar\driver\driver
|
|||
$this->storage->delete($filename);
|
||||
return true;
|
||||
}
|
||||
catch (\phpbb\storage\exception\exception $e)
|
||||
catch (storage_exception $e)
|
||||
{
|
||||
// Fail is covered by return statement below
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue