]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
update for DE translation
[friendica.git] / include / api.php
index 2eaabd82429ce70306e70ab267e8f7d17b101d22..32fe6c651d945daf42f01ae7bc0030ae5473ba67 100644 (file)
@@ -1626,7 +1626,7 @@ function api_statuses_home_timeline($type)
        }
 
        if (!empty($idarray)) {
-               $unseen = dba::exists('item', ['unseen' => true, 'id' => $idarray]);
+               $unseen = Item::exists(['unseen' => true, 'id' => $idarray]);
                if ($unseen) {
                        Item::update(['unseen' => false], ['unseen' => true, 'id' => $idarray]);
                }