diff options
author | Vishal Pandey <vishpandey2014@gmail.com> | 2017-03-14 17:19:41 +0530 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-08 21:49:10 +0200 |
commit | 7d4909dc064b46022020234c7316c86fc0d38a69 (patch) | |
tree | 4f568580ca450866330b42b2db5ba35adfd19280 /phpBB/phpbb/lock/db.php | |
parent | cf12223b25ebba131ce2cbe407227ed6abffa949 (diff) | |
download | forums-7d4909dc064b46022020234c7316c86fc0d38a69.tar forums-7d4909dc064b46022020234c7316c86fc0d38a69.tar.gz forums-7d4909dc064b46022020234c7316c86fc0d38a69.tar.bz2 forums-7d4909dc064b46022020234c7316c86fc0d38a69.tar.xz forums-7d4909dc064b46022020234c7316c86fc0d38a69.zip |
[ticket/11515] Refactoring the patch.
Removing else conditions.
PHPBB3-11515
Diffstat (limited to 'phpBB/phpbb/lock/db.php')
-rw-r--r-- | phpBB/phpbb/lock/db.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/phpbb/lock/db.php b/phpBB/phpbb/lock/db.php index d9ad4d3b97..eea919f8f7 100644 --- a/phpBB/phpbb/lock/db.php +++ b/phpBB/phpbb/lock/db.php @@ -117,11 +117,7 @@ class db return true; } } - else - { - - return $this->locked; - } + return $this->locked; } /** |