https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
409a832
)
We now use a constant
author
Michael
<heluecht@pirati.ca>
Mon, 8 Mar 2021 18:57:19 +0000
(18:57 +0000)
committer
Michael
<heluecht@pirati.ca>
Mon, 8 Mar 2021 18:57:19 +0000
(18:57 +0000)
src/Model/Contact.php
patch
|
blob
|
history
diff --git
a/src/Model/Contact.php
b/src/Model/Contact.php
index
e68ae47
..
8b28575
100644
(file)
--- a/
src/Model/Contact.php
+++ b/
src/Model/Contact.php
@@
-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
];