CompatObject: Drop redundant methods getActionUrls() and getNotesUrls()

This commit is contained in:
Johannes Meyer 2020-04-06 16:20:11 +02:00
parent 222afbd48d
commit 2f96fbdcc2

View file

@ -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) {