Replace "q" calls

This commit is contained in:
Philipp Holzer 2019-03-01 12:35:59 +01:00 committed by Hypolite Petovan
parent be6057b056
commit b2edb85588
5 changed files with 46 additions and 71 deletions

View file

@ -5957,7 +5957,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 = [];