mirror of
https://github.com/friendica/friendica
synced 2025-04-24 05:50:11 +00:00
NULL_DATE is now a constant
This commit is contained in:
parent
86c6c48bd8
commit
0afb0c2ea4
21 changed files with 162 additions and 146 deletions
|
@ -16,7 +16,7 @@ function authenticate_success($user_record, $login_initial = false, $interactive
|
|||
$a->user = $user_record;
|
||||
|
||||
if($interactive) {
|
||||
if($a->user['login_date'] === '0000-00-00 00:00:00') {
|
||||
if($a->user['login_date'] <= NULL_DATE) {
|
||||
$_SESSION['return_url'] = 'profile_photo/new';
|
||||
$a->module = 'profile_photo';
|
||||
info( t("Welcome ") . $a->user['username'] . EOL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue