From: Michael Date: Tue, 29 May 2018 19:00:26 +0000 (+0000) Subject: Coding standards X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c86111d19353cab8874553aba48dd9af389121c2;p=friendica.git Coding standards --- diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index bf943f1a15..ac147a7626 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -2811,9 +2811,9 @@ class DFRN return; } - logger('deleting item '.$item["id"].' uri='.$uri, LOGGER_DEBUG); + logger('deleting item '.$item['id'].' uri='.$uri, LOGGER_DEBUG); - Item::delete(['id' => $item["id"]]); + Item::delete(['id' => $item['id']]); } /** diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index f3aa672a21..2bb8461340 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -2793,7 +2793,7 @@ class Diaspora continue; } - Item::delete(['id' => $item["id"]]); + Item::delete(['id' => $item['id']]); logger("Deleted target ".$target_guid." (".$item["id"].") from user ".$item["uid"]." parent: ".$item["parent"], LOGGER_DEBUG); }