mirror of
https://github.com/friendica/friendica
synced 2025-04-27 06:30:12 +00:00
More item abstraction / making remote deletion work again
This commit is contained in:
parent
d6af9515ba
commit
4d35e228c4
10 changed files with 31 additions and 21 deletions
|
@ -241,7 +241,7 @@ function acl_content(App $a)
|
|||
|
||||
if ($conv_id) {
|
||||
// In multi threaded posts the conv_id is not the parent of the whole thread
|
||||
$parent_item = dba::selectFirst('item', ['parent'], ['id' => $conv_id]);
|
||||
$parent_item = Item::selectFirst(['parent'], ['id' => $conv_id]);
|
||||
if (DBM::is_result($parent_item)) {
|
||||
$conv_id = $parent_item['parent'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue