Commit 0883f54f authored by mmn's avatar mmn

getUrl replaces deprecated bestUrl (more to come)

parent 030639d0
......@@ -1472,7 +1472,7 @@ class Notice extends Managed_DataObject
$act->id = $this->uri;
$act->time = strtotime($this->created);
$act->link = $this->bestUrl();
$act->link = $this->getUrl();
$act->content = common_xml_safe_str($this->rendered);
$profile = $this->getProfile();
......@@ -1520,8 +1520,8 @@ class Notice extends Managed_DataObject
try {
$reply = $this->getParent();
$ctx->replyToID = $reply->uri;
$ctx->replyToUrl = $reply->bestUrl();
$ctx->replyToID = $reply->getUri();
$ctx->replyToUrl = $reply->getUrl();
} catch (Exception $e) {
// This is not a reply to something
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment