Transform account creation date into account creation time

This commit is contained in:
Pierre 2017-12-23 18:33:16 +01:00
parent 7e0807780a
commit c40b04aab7

View File

@ -255,7 +255,7 @@ class User{
$return['allowPostFromFriendOnHisPage'] = $userInfos['autoriser_post_amis'] == 1;
//Account creation date
$return['accountCreationDate'] = $userInfos['date_creation'];
$return['account_creation_time'] = strtotime($userInfos['date_creation']);
//Add background image url
$return['backgroundImage'] = CS::get()->components->backgroundImage->getPath($return['userID']);