-
Bug
-
Resolution: Invalid
-
Trivial
-
3.1.0-RC2
-
None
-
None
The second parameter of the $config->delete() function: $use_cache is not used. This was probably caused by copying the $config->set() function. The doc-block has an incorrect explanation of the parameter as well.
/phpBB/phpbb/config/config.php
/**
|
* Removes a configuration option
|
*
|
* @param String $key The configuration option's name
|
* @param bool $use_cache Whether this variable should be cached or if it
|
* changes too frequently to be efficiently cached
|
* @return null
|
*/
|
public function delete($key, $use_cache = true)
|
{
|
unset($this->config[$key]);
|
}
|