mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/15276] Rename exception
PHPBB3-15276
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user