Use default sorting for an object's event history

refs #8614
This commit is contained in:
Eric Lippmann 2015-03-11 12:03:05 +01:00
parent ea32d3dfb3
commit e72670cb75
1 changed files with 0 additions and 1 deletions

View File

@ -459,7 +459,6 @@ abstract class MonitoredObject implements Filterable
'output',
'type'
))
->order('timestamp', 'DESC')
->where('host_name', $this->host_name);
if ($this->type === self::TYPE_SERVICE) {
$eventHistory->where('service_description', $this->service_description);