]> git.mxchange.org Git - friendica.git/blobdiff - mod/ping.php
Merge pull request #8175 from MrPetovan/task/revert-profile-default-tab
[friendica.git] / mod / ping.php
index 0c758bd4f8ab1640f3b1dd8dab112bc906abbf1d..dd57ba34d68eb3308fb3ca8847b038333410723b 100644 (file)
@@ -433,7 +433,7 @@ function ping_get_notifications($uid)
                                $notification["message"] = $notification["msg_cache"];
                        } else {
                                $notification["name"] = strip_tags(BBCode::convert($notification["name"]));
-                               $notification["message"] = format_notification_message($notification["name"], strip_tags(BBCode::convert($notification["msg"])));
+                               $notification["message"] = Friendica\Model\Notify::formatMessage($notification["name"], strip_tags(BBCode::convert($notification["msg"])));
 
                                q(
                                        "UPDATE `notify` SET `name_cache` = '%s', `msg_cache` = '%s' WHERE `id` = %d",