From 574bf665646143d89a63b4a563ab12fb6857eb88 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Thu, 11 Oct 2018 13:16:54 +0200 Subject: [PATCH] diaspora addon getHostName adoption --- diaspora/diaspora.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); -- 2.39.5