diff --git a/src/Module/Contact.php b/src/Module/Contact.php index 08256bcf5..4642401a2 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -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', diff --git a/src/Module/Contact/Advanced.php b/src/Module/Contact/Advanced.php index 91536a888..b37a9affc 100644 --- a/src/Module/Contact/Advanced.php +++ b/src/Module/Contact/Advanced.php @@ -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'), diff --git a/view/templates/contact/advanced.tpl b/view/templates/contact/advanced.tpl index 487f27a0e..004de53c1 100644 --- a/view/templates/contact/advanced.tpl +++ b/view/templates/contact/advanced.tpl @@ -13,12 +13,6 @@ -