mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 18:45:14 +02:00
Replace "q" calls
This commit is contained in:
parent
aa57aeb515
commit
5c36bdf4c5
5 changed files with 46 additions and 71 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue