ImportedrowsTable: compat with old PHP

This commit is contained in:
Thomas Gelf 2015-12-16 20:27:10 +01:00
parent 5f5490e4a7
commit 39a0c963e0
1 changed files with 5 additions and 2 deletions

View File

@ -63,12 +63,15 @@ class ImportedrowsTable extends QuickTable
public function getBaseQuery()
{
return (new ArrayDatasource(
$ds = new ArrayDatasource(
$this->connection()->fetchImportedRowsetRows(
$this->checksum,
null
)
))->select()->order('object_name');
);
return $ds->select()->order('object_name');
// TODO: Remove? ->
return $this->connection()->createImportedRowsetRowsQuery(
$this->checksum
)->order('object_name');