From: Mikael Nordfeldth Date: Thu, 31 Dec 2015 01:22:49 +0000 (+0100) Subject: Use recently implemented functions in saveKnownReplies X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=66289d3e76f05f0610662e808c1301494128c3f6;p=quix0rs-gnu-social.git Use recently implemented functions in saveKnownReplies --- diff --git a/classes/Notice.php b/classes/Notice.php index 22796abcfa..b359139abc 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -1583,7 +1583,7 @@ class Notice extends Managed_DataObject return; } - $sender = Profile::getKV($this->profile_id); + $sender = $this->getProfile(); foreach (array_unique($uris) as $uri) { try { @@ -1598,11 +1598,9 @@ class Notice extends Managed_DataObject continue; } - $this->saveReply($profile->id); - self::blow('reply:stream:%d', $profile->id); + $this->saveReply($profile->getID()); + self::blow('reply:stream:%d', $profile->getID()); } - - return; } /**