forked from GNUsocial/gnu-social
QnA
* Some bug fixes * Better Question page
This commit is contained in:
@@ -155,6 +155,11 @@ class QnA_Answer extends Managed_DataObject
|
||||
return Notice::staticGet('uri', $this->uri);
|
||||
}
|
||||
|
||||
static function fromNotice($notice)
|
||||
{
|
||||
return QnA_Answer::staticGet('uri', $notice->uri);
|
||||
}
|
||||
|
||||
function bestUrl()
|
||||
{
|
||||
return $this->getNotice()->bestUrl();
|
||||
|
Reference in New Issue
Block a user