mirror of
https://github.com/friendica/friendica
synced 2025-04-27 18:30:12 +00:00
move membersince addon to core
This commit is contained in:
parent
25fbdd21c5
commit
9a4d19e284
5 changed files with 50 additions and 23 deletions
|
@ -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']];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue