Drop MonitoredObject::getNotes()

This commit is contained in:
Alexander A. Klimov 2016-12-05 12:41:35 +01:00
parent cdc3d43a04
commit f1051f0ea5
3 changed files with 0 additions and 17 deletions

View File

@ -202,9 +202,4 @@ class Host extends MonitoredObject
MonitoredObject::parseAttributeUrls($this->host_notes_url) MonitoredObject::parseAttributeUrls($this->host_notes_url)
); );
} }
public function getNotes()
{
return $this->host_notes;
}
} }

View File

@ -173,13 +173,6 @@ abstract class MonitoredObject implements Filterable
*/ */
abstract protected function getDataView(); 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 * Get all note urls configured for this monitored object
* *

View File

@ -214,9 +214,4 @@ class Service extends MonitoredObject
MonitoredObject::parseAttributeUrls($this->service_notes_url) MonitoredObject::parseAttributeUrls($this->service_notes_url)
); );
} }
public function getNotes()
{
return $this->service_notes;
}
} }