]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/NotificationsManager.php
Rename App Methods
[friendica.git] / src / Core / NotificationsManager.php
index f8c4ee3f86dc9798fe2eac29867229f6292ec44c..4f5ccb95a0eae55ff92943dc34beb905cadb06a6 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',