Use the correct function is adviced ...
This commit is contained in:
parent
307cfef12b
commit
ce6f6978bd
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ class Fetch extends BaseModule
|
|||
if ($item['gravity'] == GRAVITY_PARENT) {
|
||||
$status = Diaspora::buildStatus($item, $user);
|
||||
} else {
|
||||
$status = Diaspora::constructComment($item, $user);
|
||||
$status = ['type' => 'comment', 'message' => Diaspora::createCommentSignature($item)];
|
||||
}
|
||||
|
||||
$xml = Diaspora::buildPostXml($status["type"], $status["message"]);
|
||||
|
|
|
@ -3614,7 +3614,7 @@ class Diaspora
|
|||
* @return array|false The data for a comment
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function constructComment(array $item, array $owner)
|
||||
private static function constructComment(array $item, array $owner)
|
||||
{
|
||||
$cachekey = "diaspora:constructComment:".$item['guid'];
|
||||
|
||||
|
|
Loading…
Reference in a new issue