WebFingerResource introduced, instead of strict Profile object
This is the beginning of getting notice URI info via WebFinger *XrdActionLinks is renamed *WebFingerProfileLinks, check EVENTS.txt in WebFinger plugin for new events.
This commit is contained in:
@@ -216,6 +216,12 @@ class Notice extends Managed_DataObject
|
||||
return $this->uri;
|
||||
}
|
||||
|
||||
public function getUrl()
|
||||
{
|
||||
// The risk is we start having empty urls and non-http uris...
|
||||
return $this->url ?: $this->uri;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract #hashtags from this notice's content and save them to the database.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user