getByUri added to Notice for future use
This commit is contained in:
parent
4759365293
commit
15c95dc415
@ -216,6 +216,11 @@ class Notice extends Managed_DataObject
|
||||
return $this->url ?: $this->uri;
|
||||
}
|
||||
|
||||
public function getByUri($uri)
|
||||
{
|
||||
return Notice::getKV('uri', $uri);
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract #hashtags from this notice's content and save them to the database.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user