fixes to diaspora profiles, batch mode duplicates, social graph table name

This commit is contained in:
Friendika 2011-11-01 00:50:41 -07:00
parent 58d21fe20a
commit f4518c646a
3 changed files with 4 additions and 4 deletions

View file

@ -710,7 +710,7 @@ function notifier_run($argv, $argc){
if($public_message) {
$r1 = q("SELECT DISTINCT(`batch`), `id`, `name`,`network` FROM `contact` WHERE `network` = '%s'
AND `uid` = %d AND `rel` != %d ORDER BY rand() ",
AND `uid` = %d AND `rel` != %d group by `batch` ORDER BY rand() ",
dbesc(NETWORK_DIASPORA),
intval($owner['uid']),
intval(CONTACT_IS_SHARING)