aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/config/config.php
diff options
context:
space:
mode:
authorErik Frèrejean <erikfrerejean@phpbb.com>2011-01-24 22:35:42 +0100
committerErik Frèrejean <erikfrerejean@phpbb.com>2011-04-18 12:28:47 +0200
commit27bbfde2437302ec0b7848513eb15cb91c8e07ce (patch)
tree6b25d42cfdd73c7a1432aaef6ca2388dad2342ae /phpBB/includes/config/config.php
parentf93ac340a298dae9f45d99ea2b418532942bd423 (diff)
downloadforums-27bbfde2437302ec0b7848513eb15cb91c8e07ce.tar
forums-27bbfde2437302ec0b7848513eb15cb91c8e07ce.tar.gz
forums-27bbfde2437302ec0b7848513eb15cb91c8e07ce.tar.bz2
forums-27bbfde2437302ec0b7848513eb15cb91c8e07ce.tar.xz
forums-27bbfde2437302ec0b7848513eb15cb91c8e07ce.zip
[ticket/10006] Remove unneeded if statements
Remove some of the additional `if (isset)` checks PHPBB3-10006
Diffstat (limited to 'phpBB/includes/config/config.php')
-rw-r--r--phpBB/includes/config/config.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/includes/config/config.php b/phpBB/includes/config/config.php
index ff352abe84..4ba05a98ec 100644
--- a/phpBB/includes/config/config.php
+++ b/phpBB/includes/config/config.php
@@ -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]);
}