diff options
author | Vishal Pandey <vishpandey2014@gmail.com> | 2017-03-18 22:37:16 +0530 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-08 21:49:15 +0200 |
commit | f1c2f7baae0da3277a2c71f47eed34589b62ba85 (patch) | |
tree | 68a1603f7e72683414a8513f1adba80ebe06a5b8 | |
parent | 7d4909dc064b46022020234c7316c86fc0d38a69 (diff) | |
download | forums-f1c2f7baae0da3277a2c71f47eed34589b62ba85.tar forums-f1c2f7baae0da3277a2c71f47eed34589b62ba85.tar.gz forums-f1c2f7baae0da3277a2c71f47eed34589b62ba85.tar.bz2 forums-f1c2f7baae0da3277a2c71f47eed34589b62ba85.tar.xz forums-f1c2f7baae0da3277a2c71f47eed34589b62ba85.zip |
[ticket/11515] Refactoring changes.
Refactoring the code as suggested.
PHPBB3-11515
-rw-r--r-- | phpBB/phpbb/config/config.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/phpbb/config/config.php b/phpBB/phpbb/config/config.php index f4b670e834..c619cae2fd 100644 --- a/phpBB/phpbb/config/config.php +++ b/phpBB/phpbb/config/config.php @@ -150,12 +150,11 @@ class config implements \ArrayAccess, \IteratorAggregate, \Countable /** * Checks configuration option's value only if the new_value matches the * current configuration value and the configuration value does exist.Called - *only after set_atomic has been called. + * only after set_atomic has been called. * * @param string $key The configuration option's name - * @param string $old_value Current configuration value * @param string $new_value New configuration value - * @throws \phpbb\exception\http_exception when configuration value is set and not equal to *new_value. + * @throws \phpbb\exception\http_exception when config value is set and not equal to new_value. * @return bool True if the value was changed, false otherwise. */ public function ensure_lock($key, $new_value) |