IcingaConfig: fix related activity for PostgreSQL
This commit is contained in:
parent
44b9142165
commit
765ef97c80
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue