mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ImportedrowsTable: compat with old PHP
This commit is contained in:
parent
5f5490e4a7
commit
39a0c963e0
@ -63,12 +63,15 @@ class ImportedrowsTable extends QuickTable
|
|||||||
|
|
||||||
public function getBaseQuery()
|
public function getBaseQuery()
|
||||||
{
|
{
|
||||||
return (new ArrayDatasource(
|
$ds = new ArrayDatasource(
|
||||||
$this->connection()->fetchImportedRowsetRows(
|
$this->connection()->fetchImportedRowsetRows(
|
||||||
$this->checksum,
|
$this->checksum,
|
||||||
null
|
null
|
||||||
)
|
)
|
||||||
))->select()->order('object_name');
|
);
|
||||||
|
|
||||||
|
return $ds->select()->order('object_name');
|
||||||
|
// TODO: Remove? ->
|
||||||
return $this->connection()->createImportedRowsetRowsQuery(
|
return $this->connection()->createImportedRowsetRowsQuery(
|
||||||
$this->checksum
|
$this->checksum
|
||||||
)->order('object_name');
|
)->order('object_name');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user