From 6d48de6cf54481f445fcd77773a5d6d461195a66 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 22 Jun 2015 13:32:34 +0200 Subject: [PATCH] DbConnection: Do not accept configuration for table prefixes fixes #9418 --- library/Icinga/Data/Db/DbConnection.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/Icinga/Data/Db/DbConnection.php b/library/Icinga/Data/Db/DbConnection.php index 471905907..95f3e9235 100644 --- a/library/Icinga/Data/Db/DbConnection.php +++ b/library/Icinga/Data/Db/DbConnection.php @@ -71,9 +71,6 @@ class DbConnection implements Selectable, Extensible, Updatable, Reducible public function __construct(ConfigObject $config = null) { $this->config = $config; - if (isset($config->prefix)) { - $this->tablePrefix = $config->prefix; - } $this->connect(); }