]> git.mxchange.org Git - friendica.git/blobdiff - mod/display.php
Use the item classes where possible
[friendica.git] / mod / display.php
index 7198d4bb5f89414073f04cc2fc5a15ba5e585afb..13ec9331be55bc1dbb4f9916141aea31ce04bd71 100644 (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`");