diff options
author | friendica <info@friendica.com> | 2013-05-16 21:06:01 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-16 21:06:01 -0700 |
commit | 9b66f16a01d3a3ac0a655c224a7b641853c0079e (patch) | |
tree | d0cc5dbe9c03d496038653e01c19cc689edcd01b /mod/post.php | |
parent | 75461355ff25d4bfb15b7db18c00e906f4575fcf (diff) | |
download | volse-hubzilla-9b66f16a01d3a3ac0a655c224a7b641853c0079e.tar.gz volse-hubzilla-9b66f16a01d3a3ac0a655c224a7b641853c0079e.tar.bz2 volse-hubzilla-9b66f16a01d3a3ac0a655c224a7b641853c0079e.zip |
we don't need every hubloc for the site, only those that have different keys
Diffstat (limited to 'mod/post.php')
-rw-r--r-- | mod/post.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/post.php b/mod/post.php index 33534ce14..344f5be9e 100644 --- a/mod/post.php +++ b/mod/post.php @@ -191,7 +191,7 @@ function post_post(&$a) { logger('mod_zot: pickup: ' . $ret['message'], LOGGER_DEBUG); json_return_and_die($ret); } - $r = q("select hubloc_sitekey from hubloc where hubloc_url = '%s' and hubloc_callback = '%s' and hubloc_sitekey != '' ", + $r = q("select distinct hubloc_sitekey from hubloc where hubloc_url = '%s' and hubloc_callback = '%s' and hubloc_sitekey != '' group by hubloc_sitekey ", dbesc($data['url']), dbesc($data['callback']) ); |