mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +00:00
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
c9b6da0127
commit
c1f9c1aaa5
3 changed files with 3 additions and 2 deletions
|
@ -207,7 +207,7 @@ class Profile extends BaseModule
|
|||
// @TODO Backward compatibility, replace with $localRelationship->unblock()
|
||||
Contact\User::setCollapsed($contact['id'], DI::userSession()->getLocalUserId(), false);
|
||||
|
||||
$message = $this->t('Contact has been collapsed');
|
||||
$message = $this->t('Contact has been uncollapsed');
|
||||
} else {
|
||||
// @TODO Backward compatibility, replace with $localRelationship->block()
|
||||
Contact\User::setCollapsed($contact['id'], DI::userSession()->getLocalUserId(), true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue