From: Tobias Diekershoff Date: Thu, 11 Oct 2018 11:16:54 +0000 (+0200) Subject: diaspora addon getHostName adoption X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=574bf665646143d89a63b4a563ab12fb6857eb88;p=friendica-addons.git diaspora addon getHostName adoption --- diff --git a/diaspora/diaspora.php b/diaspora/diaspora.php index ed053c75..44bc1f74 100644 --- a/diaspora/diaspora.php +++ b/diaspora/diaspora.php @@ -57,7 +57,7 @@ function diaspora_jot_nets(App $a, &$b) } function diaspora_queue_hook(App $a, &$b) { - $hostname = $a->get_hostname(); + $hostname = $a->getHostName(); $qi = q("SELECT * FROM `queue` WHERE `network` = '%s'", DBA::escape(Protocol::DIASPORA2) @@ -287,7 +287,7 @@ function diaspora_post_local(App $a, array &$b) function diaspora_send(App $a, array &$b) { - $hostname = $a->get_hostname(); + $hostname = $a->getHostName(); logger('diaspora_send: invoked');