aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2017-03-19 19:26:08 +0100
committerRubén Calvo <rubencm@gmail.com>2017-03-19 19:26:08 +0100
commit29ce6e63527e395f086aff7936c8c4f32086956c (patch)
tree842cbd73a2d55a17d87e5f28b9750d5b21d79f82
parent[ticket/15134] Replace php native functions for filesystem service methods (diff)
downloadphpbb-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.php5
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;