Use the item classes where possible

This commit is contained in:
Michael 2018-06-18 05:19:28 +00:00
commit 507956818d
4 changed files with 6 additions and 56 deletions

View file

@ -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`");