]> git.mxchange.org Git - friendica.git/commitdiff
Coding standards
authorMichael <heluecht@pirati.ca>
Tue, 29 May 2018 19:00:26 +0000 (19:00 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 29 May 2018 19:00:26 +0000 (19:00 +0000)
src/Protocol/DFRN.php
src/Protocol/Diaspora.php

index bf943f1a151def57fbb8c830a203409f32af2d4e..ac147a7626c70ca5e9cf901eb333113658bd6fb6 100644 (file)
@@ -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']]);
        }
 
        /**
index f3aa672a215561435ec3c5ca10b8b49e5d6d37cd..2bb846134089e2d2ccaf8f01c0f3c4026c58680e 100644 (file)
@@ -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);
                }