From b638ed9e8676852fd98fc0b18ef1a2b85438c9d6 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 12 Jan 2018 23:43:08 +0000 Subject: [PATCH] Corrected function name --- src/Protocol/Diaspora.php | 2 +- src/Worker/Notifier.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 817a87ccb..4d8914345 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -111,7 +111,7 @@ class Diaspora * * @return array of relay servers */ - public static function participationsForThread($thread, $contacts) + public static function participantsForThread($thread, $contacts) { $r = dba::p("SELECT `contact`.`batch`, `contact`.`id`, `contact`.`name`, `contact`.`network`, `fcontact`.`batch` AS `fbatch`, `fcontact`.`network` AS `fnetwork` FROM `participation` diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index da6d45084..307178bfb 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -525,7 +525,7 @@ class Notifier { // Fetch the participation list // The function will ensure that there are no duplicates - $r1 = Diaspora::ParticipationsForThread($item_id, $r1); + $r1 = Diaspora::participantsForThread($item_id, $r1); }