mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-14 04:42:04 +02:00
[ticket/15276] Rename exception
PHPBB3-15276
This commit is contained in:
parent
ef00bb4da5
commit
41af01b1ee
@ -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…
x
Reference in New Issue
Block a user