IcingaConfig: fix related activity for PostgreSQL

This commit is contained in:
Thomas Gelf 2016-03-02 23:53:19 +01:00
parent 44b9142165
commit 765ef97c80
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ class IcingaConfig
if ($this->lastActivityChecksum === null) { if ($this->lastActivityChecksum === null) {
$query = $this->db->select() $query = $this->db->select()
->from('director_activity_log', 'checksum') ->from('director_activity_log', 'checksum')
->order('change_time DESC') ->order('id DESC')
->limit(1); ->limit(1);
$this->lastActivityChecksum = $this->db->fetchOne($query); $this->lastActivityChecksum = $this->db->fetchOne($query);