1
1
Fork 0

We now use a constant

This commit is contained in:
Michael 2021-03-08 18:57:19 +00:00
parent 409a8322a8
commit e826a4dafd

View file

@ -2579,13 +2579,14 @@ class Contact
public static function updateBirthdays()
{
$condition = [
'`bd` > "0001-01-01"
'`bd` > ?
AND (`contact`.`rel` = ? OR `contact`.`rel` = ?)
AND NOT `contact`.`pending`
AND NOT `contact`.`hidden`
AND NOT `contact`.`blocked`
AND NOT `contact`.`archive`
AND NOT `contact`.`deleted`',
DBA::NULL_DATE,
self::SHARING,
self::FRIEND
];