1
0
Fork 0

Use the Item class instead of DBA calls when possible

This commit is contained in:
Michael 2018-08-15 04:41:49 +00:00
commit e8334c4655
5 changed files with 23 additions and 21 deletions

View 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);