1
0
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:
Erik Frèrejean
2011-01-24 22:35:42 +01:00
parent f93ac340a2
commit 27bbfde243
2 changed files with 0 additions and 10 deletions

View File

@@ -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]);
}