aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorVishal Pandey <vishpandey2014@gmail.com>2017-05-14 12:08:20 +0530
committerMarc Alexander <admin@m-a-styles.de>2019-05-08 21:49:28 +0200
commit332b310809083df34e4eaa0df5dbbf73b171ec25 (patch)
tree9a2c3c7cbab7ef9f3c89463acc476ec89b8daa1f /phpBB
parentdfcce400a44591fd610de400818b3d6af988104e (diff)
downloadforums-332b310809083df34e4eaa0df5dbbf73b171ec25.tar
forums-332b310809083df34e4eaa0df5dbbf73b171ec25.tar.gz
forums-332b310809083df34e4eaa0df5dbbf73b171ec25.tar.bz2
forums-332b310809083df34e4eaa0df5dbbf73b171ec25.tar.xz
forums-332b310809083df34e4eaa0df5dbbf73b171ec25.zip
[ticket/11515] If condition changes
Duplicate return statements removed. PHPBB3-11515
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/lock/flock.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/phpBB/phpbb/lock/flock.php b/phpBB/phpbb/lock/flock.php
index 6c41ceed26..af051afb56 100644
--- a/phpBB/phpbb/lock/flock.php
+++ b/phpBB/phpbb/lock/flock.php
@@ -105,7 +105,6 @@ class flock
{
throw new \phpbb\exception\http_exception(500, 'Failure while aqcuiring locks.');
}
- return (bool) $this->lock_fp;
}
return (bool) $this->lock_fp;