kopia lustrzana https://github.com/friendica/friendica
Merge branch 'item-delete' of github.com:annando/friendica into item-delete
commit
fe8a4d50c8
|
@ -189,7 +189,7 @@ class Item extends BaseObject
|
||||||
|
|
||||||
// If it's the parent of a comment thread, kill all the kids
|
// If it's the parent of a comment thread, kill all the kids
|
||||||
if ($item['id'] == $item['parent']) {
|
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?
|
// Is it our comment and/or our thread?
|
||||||
|
|
Ładowanie…
Reference in New Issue