mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 03:25:15 +02:00
Move Notify::TYPE_CONFIRM
This commit is contained in:
parent
cfd50f9abb
commit
6e45514e2c
5 changed files with 8 additions and 6 deletions
|
@ -339,7 +339,7 @@ function notification($params)
|
|||
$hsitelink = sprintf($sitelink, '<a href="'.$siteurl.'">'.$sitename.'</a>');
|
||||
}
|
||||
|
||||
if ($params['type'] == NOTIFY_CONFIRM) {
|
||||
if ($params['type'] == Notify\Type::CONFIRM) {
|
||||
if ($params['verb'] == Activity::FRIEND) { // mutual connection
|
||||
$itemlink = $params['link'];
|
||||
$subject = $l10n->t('[Friendica:Notify] Connection accepted');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue