Wall postings need to be treated especially as well.
This commit is contained in:
parent
2df5a14ce5
commit
947a1b894f
|
@ -119,7 +119,7 @@ class Item
|
||||||
}
|
}
|
||||||
|
|
||||||
// When it is our item we don't delete it here, since we have to send delete messages
|
// When it is our item we don't delete it here, since we have to send delete messages
|
||||||
if ($item['origin']) {
|
if ($item['origin'] || $item['wall']) {
|
||||||
// Set the item to "deleted"
|
// Set the item to "deleted"
|
||||||
dba::update('item', ['deleted' => true, 'title' => '', 'body' => '',
|
dba::update('item', ['deleted' => true, 'title' => '', 'body' => '',
|
||||||
'edited' => datetime_convert(), 'changed' => datetime_convert()],
|
'edited' => datetime_convert(), 'changed' => datetime_convert()],
|
||||||
|
|
Loading…
Reference in a new issue