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:
Mikael Nordfeldth
2013-10-20 15:32:56 +02:00
parent d632df320a
commit e868ebfe77
12 changed files with 243 additions and 187 deletions

View File

@@ -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.
*/