Merge pull request #4934 from annando/distribute-precaution

Item distribution: Better don't store these values
This commit is contained in:
Hypolite Petovan 2018-04-26 16:26:23 -04:00 committed by GitHub
commit 33a551235e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -862,6 +862,14 @@ class Item extends BaseObject
} }
unset($item['id']); 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 = []; $users = [];