diff options
author | Rubén Calvo <rubencm@gmail.com> | 2017-03-19 19:26:08 +0100 |
---|---|---|
committer | Rubén Calvo <rubencm@gmail.com> | 2017-03-19 19:26:08 +0100 |
commit | 29ce6e63527e395f086aff7936c8c4f32086956c (patch) | |
tree | 842cbd73a2d55a17d87e5f28b9750d5b21d79f82 | |
parent | [ticket/15134] Replace php native functions for filesystem service methods (diff) | |
download | phpbb-29ce6e63527e395f086aff7936c8c4f32086956c.tar.gz phpbb-29ce6e63527e395f086aff7936c8c4f32086956c.tar.bz2 phpbb-29ce6e63527e395f086aff7936c8c4f32086956c.zip |
[ticket/15134] Follow coding guideliness
PHPBB3-15134
-rw-r--r-- | phpBB/phpbb/avatar/driver/upload.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/phpbb/avatar/driver/upload.php b/phpBB/phpbb/avatar/driver/upload.php index 93b2353098..607db9067c 100644 --- a/phpBB/phpbb/avatar/driver/upload.php +++ b/phpBB/phpbb/avatar/driver/upload.php @@ -287,7 +287,10 @@ class upload extends \phpbb\avatar\driver\driver { $this->filesystem->remove($filename); } - catch(\phpbb\filesystem\exception\filesystem_exception $e) {} + catch (\phpbb\filesystem\exception\filesystem_exception $e) + { + // Do nothing + } } return true; |