From: Mikael Nordfeldth Date: Mon, 18 Jan 2016 21:02:05 +0000 (+0100) Subject: getVerb function in Notice class X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7715ea993ba4dc417aaaa8ffeece726519cce0b1;p=quix0rs-gnu-social.git getVerb function in Notice class --- diff --git a/classes/Notice.php b/classes/Notice.php index 7524b9ff69..9a39c6dc63 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -277,6 +277,11 @@ class Notice extends Managed_DataObject return $this->created; } + public function getVerb($make_relative=false) + { + return ActivityUtils::resolveUri($this->verb, $make_relative); + } + /* * Get the original representation URL of this notice. *