copy and paste ...

This commit is contained in:
Michael 2018-01-12 21:02:39 +00:00
parent 3c027699a5
commit 9e37b49bea

View 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`