mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
DbConnection: Do not accept configuration for table prefixes
fixes #9418
This commit is contained in:
parent
d36f90d8cb
commit
6d48de6cf5
@ -71,9 +71,6 @@ class DbConnection implements Selectable, Extensible, Updatable, Reducible
|
|||||||
public function __construct(ConfigObject $config = null)
|
public function __construct(ConfigObject $config = null)
|
||||||
{
|
{
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
if (isset($config->prefix)) {
|
|
||||||
$this->tablePrefix = $config->prefix;
|
|
||||||
}
|
|
||||||
$this->connect();
|
$this->connect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user