[ticket/11515] If condition changes

Duplicate return statements removed.

PHPBB3-11515
This commit is contained in:
Vishal Pandey 2017-05-14 12:08:20 +05:30
parent 8897dbf9fe
commit fa108176e5

View file

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