aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/config/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/config/config.php')
-rw-r--r--phpBB/includes/config/config.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/includes/config/config.php b/phpBB/includes/config/config.php
index 9596b1e15b..ff352abe84 100644
--- a/phpBB/includes/config/config.php
+++ b/phpBB/includes/config/config.php
@@ -109,18 +109,16 @@ class phpbb_config implements ArrayAccess, IteratorAggregate, Countable
* @param String $key The configuration option's name
* @param bool $cache Whether this variable should be cached or if it
* changes too frequently to be efficiently cached
- * @return bool True if the configuration entry was deleted successfully,
- * otherwise false
+ * @return void
*/
public function delete($key, $cache = true)
{
if (!isset($this->config[$key]))
{
- return false;
+ return;
}
unset($this->config[$key]);
- return true;
}
/**