Use recently implemented functions in saveKnownReplies

This commit is contained in:
Mikael Nordfeldth 2015-12-31 02:22:49 +01:00
parent 6772d991ae
commit 66289d3e76

View File

@ -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;
}
/**