From 66289d3e76f05f0610662e808c1301494128c3f6 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 31 Dec 2015 02:22:49 +0100 Subject: [PATCH] Use recently implemented functions in saveKnownReplies --- classes/Notice.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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; } /**