]> git.mxchange.org Git - friendica.git/commitdiff
copy and paste ...
authorMichael <heluecht@pirati.ca>
Fri, 12 Jan 2018 21:02:39 +0000 (21:02 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 12 Jan 2018 21:02:39 +0000 (21:02 +0000)
src/Protocol/Diaspora.php

index 49134e2220cd0fcfda2086a4938b09a32f2fcaa3..747a1b2e1f281f35289550f50d8894da943e8dec 100644 (file)
@@ -113,7 +113,6 @@ class Diaspora
         */
        public static function ParticipationsForThread($thread, $contacts)
        {
-               $relais = q("SELECT `batch`, `id`, `name`,`network` FROM `contact` WHERE `uid` = 0 AND `batch` = '%s' LIMIT 1", dbesc($batch));
                $r = dba::p("SELECT `contact`.`batch`, `contact`.`id`, `contact`.`name`, `contact`.`network`,
                                `fcontact`.`batch` AS `fbatch`, `fcontact`.`network` AS `fnetwork` FROM `participation`
                                INNER JOIN `contact` ON `contact`.`id` = `participation`.`contact`