X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fnotifications.php;h=e2de81e6c7f24a7f49dfe41602298fbe7c1d0b10;hb=c54a2c1e83822f6e043b449468570d2c9ed3ab3a;hp=fe8422cc4a80a31460923c07fd44dc257893675d;hpb=9e99066fd70a9dd9a291a523afba1a390f0e3a0b;p=friendica.git diff --git a/mod/notifications.php b/mod/notifications.php index fe8422cc4a..e2de81e6c7 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -1,17 +1,15 @@ "; - $header .= " (".network_to_name($it['network'], $it['url']).")"; + $header .= " (".ContactSelector::networkToName($it['network'], $it['url']).")"; if ($it['network'] != NETWORK_DIASPORA) { $discard = t('Discard'); @@ -260,7 +258,7 @@ function notifications_content(App $a) { '$addr' => $it['addr'], '$lbl_knowyou' => $lbl_knowyou, '$lbl_network' => t('Network:'), - '$network' => network_to_name($it['network'], $it['url']), + '$network' => ContactSelector::networkToName($it['network'], $it['url']), '$knowyou' => $knowyou, '$approve' => t('Approve'), '$note' => $it['note'],