mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
CompatObject: Drop redundant methods getActionUrls() and getNotesUrls()
This commit is contained in:
parent
222afbd48d
commit
2f96fbdcc2
1 changed files with 0 additions and 26 deletions
|
|
@ -46,19 +46,6 @@ trait CompatObject
|
|||
}
|
||||
}
|
||||
|
||||
public function getActionUrls()
|
||||
{
|
||||
$actionUrl = $this->object->action_url;
|
||||
|
||||
if ($actionUrl === null) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return $this->resolveAllStrings(
|
||||
MonitoredObject::parseAttributeUrls($actionUrl->action_url)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get this object's name
|
||||
*
|
||||
|
|
@ -69,19 +56,6 @@ trait CompatObject
|
|||
return $this->object->name;
|
||||
}
|
||||
|
||||
public function getNotesUrls()
|
||||
{
|
||||
$notesUrl = $this->object->notes_url;
|
||||
|
||||
if ($notesUrl === null) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return $this->resolveAllStrings(
|
||||
MonitoredObject::parseAttributeUrls($notesUrl->notes_url)
|
||||
);
|
||||
}
|
||||
|
||||
public function fetchCustomvars()
|
||||
{
|
||||
if ($this->customvars !== null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue