The fetch function now centrally controls the content

This commit is contained in:
Michael 2018-06-24 10:48:29 +00:00
parent 62a61a95d3
commit b03db4643f
14 changed files with 56 additions and 43 deletions

View file

@ -456,7 +456,7 @@ function networkFlatView(App $a, $update = 0)
$params = ['order' => ['id' => true], 'limit' => [$a->pager['start'], $a->pager['itemspage']]];
$result = Item::selectForUser(local_user(), [], $condition, $params);
$items = dba::inArray($result);
$items = Item::inArray($result);
$condition = ['unseen' => true, 'uid' => local_user()];
networkSetSeen($condition);