mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
[ticket/10006] Remove unneeded if statements
Remove some of the additional `if (isset)` checks PHPBB3-10006
This commit is contained in:
@@ -113,11 +113,6 @@ class phpbb_config implements ArrayAccess, IteratorAggregate, Countable
|
||||
*/
|
||||
public function delete($key, $cache = true)
|
||||
{
|
||||
if (!isset($this->config[$key]))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
unset($this->config[$key]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user