From: Mikael Nordfeldth Date: Mon, 28 Apr 2014 12:04:54 +0000 (+0200) Subject: getUrl replaces deprecated bestUrl (more to come) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0883f54f62f3f2d512d3b3e965eb84b5d9102b50;p=quix0rs-gnu-social.git getUrl replaces deprecated bestUrl (more to come) --- diff --git a/classes/Notice.php b/classes/Notice.php index 0264c62275..a72e04746c 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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 }