From 7715ea993ba4dc417aaaa8ffeece726519cce0b1 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 18 Jan 2016 22:02:05 +0100 Subject: [PATCH] getVerb function in Notice class --- classes/Notice.php | 5 +++++ 1 file changed, 5 insertions(+) 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. * -- 2.39.5