"selectForUser" and "" selectFirstForUser" is now moved to Post

This commit is contained in:
Michael 2021-01-16 22:37:27 +00:00
parent c1226bff07
commit 2b1d0b9db8
29 changed files with 179 additions and 121 deletions

View file

@ -125,7 +125,7 @@ class Notifier
return;
}
$items = Post::inArray($items_stmt);
$items = Post::toArray($items_stmt);
// avoid race condition with deleting entries
if ($items[0]['deleted']) {