aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/config/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/config/db.php')
-rw-r--r--phpBB/includes/config/db.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/includes/config/db.php b/phpBB/includes/config/db.php
index caa2cff7f1..f98056e013 100644
--- a/phpBB/includes/config/db.php
+++ b/phpBB/includes/config/db.php
@@ -100,11 +100,6 @@ class phpbb_config_db extends phpbb_config
*/
public function delete($key, $cache = true)
{
- if (!isset($this->config[$key]))
- {
- return;
- }
-
$sql = 'DELETE FROM ' . $this->table . "
WHERE config_name = '" . $this->db->sql_escape($key) . "'";
$this->db->sql_query($sql);