1
0
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:
Rubén Calvo
2017-07-20 17:27:29 +02:00
parent ef00bb4da5
commit 41af01b1ee

View File

@@ -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
}