aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-25 21:42:46 -0700
committerfriendica <info@friendica.com>2014-08-25 21:42:46 -0700
commiteb8f194419975a6cd3debba145c8769da055b8dc (patch)
treed33ca7dea3545703f4e65902f34bea270182d37b /include/notifier.php
parent84ff380302764703dcc0bdf9ab5d69bac549726e (diff)
downloadvolse-hubzilla-eb8f194419975a6cd3debba145c8769da055b8dc.tar.gz
volse-hubzilla-eb8f194419975a6cd3debba145c8769da055b8dc.tar.bz2
volse-hubzilla-eb8f194419975a6cd3debba145c8769da055b8dc.zip
sort out some anomalies
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 0a5cf3f4c..7c4f64ae0 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -445,11 +445,11 @@ function notifier_run($argv, $argc){
// aren't the owner or author.
- $r = q("select hubloc_sitekey, hubloc_network, hubloc_flags, hubloc_callback, hubloc_host from hubloc
+ $r = q("select hubloc_guid, hubloc_sitekey, hubloc_network, hubloc_flags, hubloc_callback, hubloc_host from hubloc
where hubloc_hash in (" . implode(',',$recipients) . ") group by hubloc_sitekey order by hubloc_connected desc limit 1");
}
else {
- $r = q("select hubloc_sitekey, hubloc_network, hubloc_flags, hubloc_callback, hubloc_host from hubloc
+ $r = q("select hubloc_guid, hubloc_sitekey, hubloc_network, hubloc_flags, hubloc_callback, hubloc_host from hubloc
where hubloc_hash in (" . implode(',',$recipients) . ") $sql_extra group by hubloc_sitekey");
}