aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/lock/flock.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/lock/flock.php')
-rw-r--r--phpBB/phpbb/lock/flock.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/phpbb/lock/flock.php b/phpBB/phpbb/lock/flock.php
index b496ed845e..fa4cbe3690 100644
--- a/phpBB/phpbb/lock/flock.php
+++ b/phpBB/phpbb/lock/flock.php
@@ -105,10 +105,7 @@ class flock
{
return (bool) $this->lock_fp;
}
- else
- {
- throw new \phpbb\exception\http_exception(500, 'Failure while aqcuiring locks.');
- }
+ throw new \phpbb\exception\http_exception(500, 'Failure while aqcuiring locks.');
}
return (bool) $this->lock_fp;