forked from GNUsocial/gnu-social
getVerb function in Notice class
This commit is contained in:
parent
f768de4b46
commit
7715ea993b
|
@ -277,6 +277,11 @@ class Notice extends Managed_DataObject
|
||||||
return $this->created;
|
return $this->created;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getVerb($make_relative=false)
|
||||||
|
{
|
||||||
|
return ActivityUtils::resolveUri($this->verb, $make_relative);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the original representation URL of this notice.
|
* Get the original representation URL of this notice.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue