ConfigController: shift checkforchanges first...

...would fail otherwise
This commit is contained in:
Thomas Gelf 2016-09-09 08:40:14 +00:00
parent a90595a004
commit b6d97171e1

View File

@ -19,8 +19,8 @@ class ConfigController extends ActionController
{ {
$this->setAutorefreshInterval(5); $this->setAutorefreshInterval(5);
try { try {
if ($this->db()->hasUncollectedDeployments() if ($this->getRequest()->getUrl()->shift('checkforchanges')
|| $this->getRequest()->getUrl()->shift('checkforchanges') || $this->db()->hasUncollectedDeployments()
) { ) {
$this->api()->collectLogFiles($this->db()); $this->api()->collectLogFiles($this->db());
} }