]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/UserImport.php
Move NULL_DATE from boot.php to DBA::NULL_DATETIME
[friendica.git] / src / Core / UserImport.php
index 54f3ec06157ce32eb5c12f9a3e047012da61c29a..18aabec08a07c800be2b7d74195a36fd5ff867b3 100644 (file)
@@ -180,7 +180,7 @@ class UserImport
                        }
                        if ($contact['uid'] == $olduid && $contact['self'] == '0') {
                                // set contacts 'avatar-date' to NULL_DATE to let worker to update urls
-                               $contact["avatar-date"] = NULL_DATE;
+                               $contact["avatar-date"] = DBA::NULL_DATETIME;
 
                                switch ($contact['network']) {
                                        case Protocol::DFRN: