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
1 changed files with 2 additions and 2 deletions

View File

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