Fix getBirthdays()

- Formatting optimizations
- Remove redundant ASC
This commit is contained in:
Philipp 2022-01-04 22:00:25 +01:00
parent 6eab7d9f14
commit 7b3515e706
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

View File

@ -508,7 +508,7 @@ class Profile
AND NOT `contact`.`archive` AND NOT `contact`.`archive`
AND NOT `contact`.`deleted` AND NOT `contact`.`deleted`
WHERE `event`.`uid` = ? AND `type` = 'birthday' AND `start` < ? AND `finish` > ? WHERE `event`.`uid` = ? AND `type` = 'birthday' AND `start` < ? AND `finish` > ?
ORDER BY `start` ASC ", ORDER BY `start`",
Contact::SHARING, Contact::SHARING,
Contact::FRIEND, Contact::FRIEND,
local_user(), local_user(),