]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Remove unneeded stuff
[friendica.git] / boot.php
index 4e1249e197ce14bfb2d2f6bc58c3a43ea9ecafdc..3852c3279af24e3dc00ca1729d6a8e38d1ec5c6c 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -152,8 +152,6 @@ define('NOTIFY_TAGSHARE',   256);
 define('NOTIFY_POKE',       512);
 define('NOTIFY_SHARE',     1024);
 
-define('SYSTEM_EMAIL',    16384);
-
 define('NOTIFY_SYSTEM',   32768);
 /* @}*/
 
@@ -355,7 +353,7 @@ function feed_birthday($uid, $tz)
                $tz = 'UTC';
        }
 
-       $profile = DBA::selectFirst('profile', ['dob'], ['is-default' => true, 'uid' => $uid]);
+       $profile = DBA::selectFirst('profile', ['dob'], ['uid' => $uid]);
        if (DBA::isResult($profile)) {
                $tmp_dob = substr($profile['dob'], 5);
                if (intval($tmp_dob)) {