mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Replace "q" calls
This commit is contained in:
parent
be6057b056
commit
b2edb85588
5 changed files with 46 additions and 71 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue