mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ImortSourceLdap: remove test columns
This commit is contained in:
parent
51ee2a1fa5
commit
eea642bd1c
@ -14,23 +14,6 @@ class ImportSourceLdap extends ImportSourceHook
|
|||||||
|
|
||||||
public function fetchData()
|
public function fetchData()
|
||||||
{
|
{
|
||||||
$columns = array(
|
|
||||||
'objectclass',
|
|
||||||
'cn',
|
|
||||||
'snbhostname',
|
|
||||||
'environment',
|
|
||||||
'puppetclass', // multi
|
|
||||||
'puppetvar', // multi
|
|
||||||
'SNBhostcontactteam',
|
|
||||||
'SNBhostlocshort',
|
|
||||||
'SNBmonprio',
|
|
||||||
'SNBappl',
|
|
||||||
'SNBosversion',
|
|
||||||
'SNBossubversion',
|
|
||||||
'snbmachmaint',
|
|
||||||
'snbstate',
|
|
||||||
'snbmaintperiod', // multi
|
|
||||||
);
|
|
||||||
$query = $this->connection()->select()->from($this->settings['objectclass'], $this->listColumns());
|
$query = $this->connection()->select()->from($this->settings['objectclass'], $this->listColumns());
|
||||||
if ($base = $this->settings['base']) {
|
if ($base = $this->settings['base']) {
|
||||||
$query->setBase($base);
|
$query->setBase($base);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user