mirror of
https://github.com/friendica/friendica
synced 2025-04-24 09:50:11 +00:00
Contacts can now be updated from every theme
This commit is contained in:
parent
2dd56bcb0d
commit
b52ba79620
6 changed files with 3 additions and 15 deletions
|
@ -1139,7 +1139,7 @@ class Contact extends BaseModule
|
|||
];
|
||||
}
|
||||
|
||||
if (in_array($contact['network'], Protocol::FEDERATED)) {
|
||||
if (in_array($contact['network'], Protocol::NATIVE_SUPPORT)) {
|
||||
$contact_actions['updateprofile'] = [
|
||||
'label' => DI::l10n()->t('Refetch contact data'),
|
||||
'url' => 'contact/' . $contact['id'] . '/updateprofile',
|
||||
|
|
|
@ -128,8 +128,6 @@ class Advanced extends BaseModule
|
|||
'$info' => $info,
|
||||
'$returnaddr' => $returnaddr,
|
||||
'$return' => DI::l10n()->t('Return to contact editor'),
|
||||
'$update_profile' => in_array($contact['network'], Protocol::FEDERATED),
|
||||
'$udprofilenow' => DI::l10n()->t('Refetch contact data'),
|
||||
'$contact_id' => $contact['id'],
|
||||
'$lbl_submit' => DI::l10n()->t('Submit'),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue