define('NOTIFY_POKE', 512);
define('NOTIFY_SHARE', 1024);
-define('SYSTEM_EMAIL', 16384);
-
define('NOTIFY_SYSTEM', 32768);
/* @}*/
$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)) {