mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-18 07:31:32 +02:00
[ticket/11515] Refactoring changes.
Refactoring the code as suggested. PHPBB3-11515
This commit is contained in:
@@ -153,9 +153,8 @@ class config implements \ArrayAccess, \IteratorAggregate, \Countable
|
|||||||
* only after set_atomic has been called.
|
* only after set_atomic has been called.
|
||||||
*
|
*
|
||||||
* @param string $key The configuration option's name
|
* @param string $key The configuration option's name
|
||||||
* @param string $old_value Current configuration value
|
|
||||||
* @param string $new_value New 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.
|
* @return bool True if the value was changed, false otherwise.
|
||||||
*/
|
*/
|
||||||
public function ensure_lock($key, $new_value)
|
public function ensure_lock($key, $new_value)
|
||||||
|
Reference in New Issue
Block a user