ImportsourceController: do not show status unless...

...we show them
This commit is contained in:
Thomas Gelf 2016-08-23 14:26:06 +00:00
parent 204972eb7e
commit b5d6139893
1 changed files with 3 additions and 1 deletions

View File

@ -107,7 +107,9 @@ class ImportsourceController extends ActionController
$this->prepareTabs($id)->activate('history');
$this->view->title = $this->translate('Import run history');
$this->view->stats = $this->db()->fetchImportStatistics();
// TODO: temporarily disabled, find a better place for stats:
// $this->view->stats = $this->db()->fetchImportStatistics();
$this->prepareTable('importrun');
$this->view->table->enforceFilter(Filter::where('source_id', $id));
}