Replace "q" calls

This commit is contained in:
Philipp Holzer 2019-03-01 12:35:59 +01:00
parent aa57aeb515
commit 5c36bdf4c5
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
5 changed files with 46 additions and 71 deletions

View file

@ -5951,7 +5951,7 @@ function api_friendica_notification($type)
}
$nm = new NotificationsManager();
$notes = $nm->getAll([], "+seen -date", 50);
$notes = $nm->getAll([], ['seen' => 'ASC', 'date' => 'DESC'], 50);
if ($type == "xml") {
$xmlnotes = [];