ImportedrowsTable: compat with old PHP

This commit is contained in:
Thomas Gelf 2015-12-16 20:27:10 +01:00
parent 5f5490e4a7
commit 39a0c963e0

View File

@ -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');