]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
Use the Item class instead of DBA calls when possible
[friendica.git] / mod / network.php
index 49f9c7cb1b00b5afe5b57f58dd4d9108ca4b1aaf..6cee4d2b806f296a7870c06ef69b52b0709ba8e2 100644 (file)
@@ -318,7 +318,7 @@ function networkSetSeen($condition)
                return;
        }
 
-       $unseen = DBA::exists('item', $condition);
+       $unseen = Item::exists($condition);
 
        if ($unseen) {
                $r = Item::update(['unseen' => false], $condition);