]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Notifier.php
Fix notices in include/enotify
[friendica.git] / src / Worker / Notifier.php
index 6bfd2bc3b3f9aabe8368c22f5e5a04feba564306..ad33c3245d4be9d33e1381cb9d1cb00b40851842 100644 (file)
@@ -194,7 +194,7 @@ class Notifier
                        // if $parent['wall'] == 1 we will already have the parent message in our array
                        // and we will relay the whole lot.
 
-                       $localhost = str_replace('www.','',$a->get_hostname());
+                       $localhost = str_replace('www.','',$a->getHostName());
                        if (strpos($localhost,':')) {
                                $localhost = substr($localhost,0,strpos($localhost,':'));
                        }