From f1051f0ea55d907fec1e569b69e72e4583901917 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 5 Dec 2016 12:41:35 +0100 Subject: [PATCH] Drop MonitoredObject::getNotes() --- modules/monitoring/library/Monitoring/Object/Host.php | 5 ----- .../library/Monitoring/Object/MonitoredObject.php | 7 ------- modules/monitoring/library/Monitoring/Object/Service.php | 5 ----- 3 files changed, 17 deletions(-) diff --git a/modules/monitoring/library/Monitoring/Object/Host.php b/modules/monitoring/library/Monitoring/Object/Host.php index 357c775e9..7c6bd5324 100644 --- a/modules/monitoring/library/Monitoring/Object/Host.php +++ b/modules/monitoring/library/Monitoring/Object/Host.php @@ -202,9 +202,4 @@ class Host extends MonitoredObject MonitoredObject::parseAttributeUrls($this->host_notes_url) ); } - - public function getNotes() - { - return $this->host_notes; - } } diff --git a/modules/monitoring/library/Monitoring/Object/MonitoredObject.php b/modules/monitoring/library/Monitoring/Object/MonitoredObject.php index 6fb73112f..421caaa3e 100644 --- a/modules/monitoring/library/Monitoring/Object/MonitoredObject.php +++ b/modules/monitoring/library/Monitoring/Object/MonitoredObject.php @@ -173,13 +173,6 @@ abstract class MonitoredObject implements Filterable */ abstract protected function getDataView(); - /** - * Get the notes for this monitored object - * - * @return string The notes as a string - */ - public abstract function getNotes(); - /** * Get all note urls configured for this monitored object * diff --git a/modules/monitoring/library/Monitoring/Object/Service.php b/modules/monitoring/library/Monitoring/Object/Service.php index 5d03b786d..c712beeb1 100644 --- a/modules/monitoring/library/Monitoring/Object/Service.php +++ b/modules/monitoring/library/Monitoring/Object/Service.php @@ -214,9 +214,4 @@ class Service extends MonitoredObject MonitoredObject::parseAttributeUrls($this->service_notes_url) ); } - - public function getNotes() - { - return $this->service_notes; - } }