From: Michael Date: Thu, 28 Jun 2018 16:39:25 +0000 (+0000) Subject: Even more standards X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a4b61a4157708dfc9a7e15f6748c87d77be03248;p=friendica-addons.git Even more standards --- diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index f1b77e9f..f1c75d98 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -451,11 +451,11 @@ function pumpio_send(&$a, &$b) } if (($b['verb'] == ACTIVITY_POST) && ($b['created'] !== $b['edited']) && !$b['deleted']) { - pumpio_action($a, $b["uid"], $b["uri"], "update", $b["body"]); + pumpio_action($a, $b["uid"], $b["uri"], "update", $b["body"]); } if (($b['verb'] == ACTIVITY_POST) && $b['deleted']) { - pumpio_action($a, $b["uid"], $b["uri"], "delete"); + pumpio_action($a, $b["uid"], $b["uri"], "delete"); } if ($b['deleted'] || ($b['created'] !== $b['edited'])) { @@ -491,8 +491,8 @@ function pumpio_send(&$a, &$b) if (!$iscomment) { $params["object"] = [ - 'objectType' => "note", - 'content' => $content]; + 'objectType' => "note", + 'content' => $content]; if ($title != "") { $params["object"]["displayName"] = $title; @@ -522,9 +522,9 @@ function pumpio_send(&$a, &$b) } $params["object"] = [ - 'objectType' => "comment", - 'content' => $content, - 'inReplyTo' => $inReplyTo]; + 'objectType' => "comment", + 'content' => $content, + 'inReplyTo' => $inReplyTo]; if ($title != "") { $params["object"]["displayName"] = $title;