bring back "this is you" comment photo
This commit is contained in:
parent
9c875a8ab5
commit
cf9a6454b0
@ -41,8 +41,17 @@ function authenticate_success($user_record, $login_initial = false, $interactive
|
|||||||
date_default_timezone_set($a->identity['entity_timezone']);
|
date_default_timezone_set($a->identity['entity_timezone']);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
$r = q("SELECT * FROM contact WHERE uid = %d AND self = 1 LIMIT 1",
|
||||||
|
intval($a->identity['entity_id'])
|
||||||
|
);
|
||||||
|
|
||||||
|
if($r && count($r)) {
|
||||||
|
$a->contact = $r[0];
|
||||||
|
$a->cid = $r[0]['id'];
|
||||||
|
$_SESSION['cid'] = $a->cid;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user