remove superfluous group by

this gets called from a zot post_post dealing with a specific messageid and hubloc_hash combination. grouping by site
doesn't make sense here and it gets grouped when pulled back out elsewhere anyway
This commit is contained in:
Habeas Codice 2015-01-24 22:07:53 -08:00
parent af7fa99e2e
commit 1d6aead325

View File

@ -2919,7 +2919,7 @@ function zot_process_message_request($data) {
$r = q("select hubloc_guid, hubloc_url, hubloc_sitekey, hubloc_network, hubloc_flags, hubloc_callback, hubloc_host
from hubloc where hubloc_hash = '%s' and not (hubloc_flags & %d)>0
and not (hubloc_status & %d)>0 group by hubloc_sitekey",
and not (hubloc_status & %d)>0 ",
dbesc($sender_hash),
intval(HUBLOC_FLAGS_DELETED),
intval(HUBLOC_OFFLINE)