]> git.mxchange.org Git - friendica.git/commitdiff
Item distribution: Better don't store these values
authorMichael <heluecht@pirati.ca>
Thu, 26 Apr 2018 20:11:29 +0000 (20:11 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 26 Apr 2018 20:11:29 +0000 (20:11 +0000)
src/Model/Item.php

index 14d2f8009f506a2fe6c45651425a7c55d2d66662..aa3800cbe175c55c5897969a36f9bf9d97f32926 100644 (file)
@@ -862,6 +862,14 @@ class Item extends BaseObject
                }
 
                unset($item['id']);
+               unset($item['parent']);
+               unset($item['mention']);
+               unset($item['wall']);
+               unset($item['origin']);
+               unset($item['global']);
+               unset($item['starred']);
+               unset($item['rendered-hash']);
+               unset($item['rendered-html']);
 
                $users = [];