mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Don't show "delete contact" when there is a follow or unfollow option
This commit is contained in:
parent
d09b3f5bde
commit
f8670b6268
2 changed files with 9 additions and 0 deletions
|
@ -1278,6 +1278,10 @@ class Contact
|
|||
}
|
||||
}
|
||||
|
||||
if (!empty($follow_link) || !empty($unfollow_link)) {
|
||||
$contact_drop_link = '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Menu array:
|
||||
* "name" => [ "Label", "link", (bool)Should the link opened in a new tab? ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue