mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-27 15:59:29 +00:00
Transform account creation date into account creation time
This commit is contained in:
parent
7e0807780a
commit
c40b04aab7
@ -255,7 +255,7 @@ class User{
|
|||||||
$return['allowPostFromFriendOnHisPage'] = $userInfos['autoriser_post_amis'] == 1;
|
$return['allowPostFromFriendOnHisPage'] = $userInfos['autoriser_post_amis'] == 1;
|
||||||
|
|
||||||
//Account creation date
|
//Account creation date
|
||||||
$return['accountCreationDate'] = $userInfos['date_creation'];
|
$return['account_creation_time'] = strtotime($userInfos['date_creation']);
|
||||||
|
|
||||||
//Add background image url
|
//Add background image url
|
||||||
$return['backgroundImage'] = CS::get()->components->backgroundImage->getPath($return['userID']);
|
$return['backgroundImage'] = CS::get()->components->backgroundImage->getPath($return['userID']);
|
||||||
|
Loading…
Reference in New Issue
Block a user