]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/NotificationsManager.php
Merge pull request #5862 from nupplaphil/rename_App_Methods
[friendica.git] / src / Core / NotificationsManager.php
index f8c4ee3f86dc9798fe2eac29867229f6292ec44c..fb77605730b1069501c751c382a4f2ee46448cfe 100644 (file)
@@ -631,7 +631,7 @@ class NotificationsManager extends BaseObject
                        // We have to distinguish between these two because they use different data.
                        // Contact suggestions
                        if ($it['fid']) {
-                               $return_addr = bin2hex(self::getApp()->user['nickname'] . '@' . self::getApp()->get_hostname() . ((self::getApp()->urlpath) ? '/' . self::getApp()->urlpath : ''));
+                               $return_addr = bin2hex(self::getApp()->user['nickname'] . '@' . self::getApp()->getHostName() . ((self::getApp()->getURLPath()) ? '/' . self::getApp()->getURLPath() : ''));
 
                                $intro = [
                                        'label' => 'friend_suggestion',