Merge branch 'item-delete' of github.com:annando/friendica into item-delete

pull/5060/head
Michael 2018-05-15 19:31:05 +00:00
commit fe8a4d50c8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -189,7 +189,7 @@ class Item extends BaseObject
// If it's the parent of a comment thread, kill all the kids
if ($item['id'] == $item['parent']) {
self::delete(['parent' => $item['parent']], $priority);
self::delete(['parent' => $item['parent'], 'deleted' => false], $priority);
}
// Is it our comment and/or our thread?