Use the item classes where possible
This commit is contained in:
parent
2a76290d19
commit
507956818d
4 changed files with 6 additions and 56 deletions
|
@ -360,7 +360,7 @@ function display_content(App $a, $update = false, $update_uid = 0) {
|
|||
|
||||
if ($unseen) {
|
||||
$condition = ['parent-uri' => $item_parent_uri, 'uid' => local_user(), 'unseen' => true];
|
||||
dba::update('item', ['unseen' => false], $condition);
|
||||
Item::update(['unseen' => false], $condition);
|
||||
}
|
||||
|
||||
$items = conv_sort($s, "`commented`");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue