move membersince addon to core

This commit is contained in:
rabuzarus 2018-02-09 20:44:45 +01:00
parent 25fbdd21c5
commit 9a4d19e284
5 changed files with 50 additions and 23 deletions

View file

@ -722,6 +722,10 @@ class Profile
$profile['fullname'] = [L10n::t('Full Name:'), $a->profile['name']];
if (Feature::isEnabled($uid, 'profile_membersince')) {
$profile['membersince'] = [L10n::t('Member since:'), DateTimeFormat::local($a->profile['register_date'])];
}
if ($a->profile['gender']) {
$profile['gender'] = [L10n::t('Gender:'), $a->profile['gender']];
}