mirror of
https://github.com/friendica/friendica
synced 2024-11-18 11:43:41 +00:00
We now use a constant
This commit is contained in:
parent
409a8322a8
commit
e826a4dafd
1 changed files with 2 additions and 1 deletions
|
@ -2579,13 +2579,14 @@ class Contact
|
||||||
public static function updateBirthdays()
|
public static function updateBirthdays()
|
||||||
{
|
{
|
||||||
$condition = [
|
$condition = [
|
||||||
'`bd` > "0001-01-01"
|
'`bd` > ?
|
||||||
AND (`contact`.`rel` = ? OR `contact`.`rel` = ?)
|
AND (`contact`.`rel` = ? OR `contact`.`rel` = ?)
|
||||||
AND NOT `contact`.`pending`
|
AND NOT `contact`.`pending`
|
||||||
AND NOT `contact`.`hidden`
|
AND NOT `contact`.`hidden`
|
||||||
AND NOT `contact`.`blocked`
|
AND NOT `contact`.`blocked`
|
||||||
AND NOT `contact`.`archive`
|
AND NOT `contact`.`archive`
|
||||||
AND NOT `contact`.`deleted`',
|
AND NOT `contact`.`deleted`',
|
||||||
|
DBA::NULL_DATE,
|
||||||
self::SHARING,
|
self::SHARING,
|
||||||
self::FRIEND
|
self::FRIEND
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue