diff options
author | friendica <info@friendica.com> | 2013-05-16 20:21:12 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-16 20:21:12 -0700 |
commit | deedac6ae542a1ff8d599076b7e0ef344d30e1a8 (patch) | |
tree | 34716c0f51ee88d1ae1507e3c3f61d52a0fc5d52 /include | |
parent | 98018f4969f3b2ab8e56a15cc6ee72ea190a0da5 (diff) | |
download | volse-hubzilla-deedac6ae542a1ff8d599076b7e0ef344d30e1a8.tar.gz volse-hubzilla-deedac6ae542a1ff8d599076b7e0ef344d30e1a8.tar.bz2 volse-hubzilla-deedac6ae542a1ff8d599076b7e0ef344d30e1a8.zip |
workarounds for people that re-install and end up polluting everybody's databases with stale entries
Diffstat (limited to 'include')
-rw-r--r-- | include/notifier.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/notifier.php b/include/notifier.php index 60cae2dc0..c805ef4cd 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -321,8 +321,8 @@ function notifier_run($argv, $argc){ $sql_extra = (($private) ? "" : " or hubloc_url = '" . z_root() . "' "); - $r = q("select distinct(hubloc_callback),hubloc_host,hubloc_sitekey from hubloc - where hubloc_hash in (" . implode(',',$recipients) . ") $sql_extra group by hubloc_callback"); + $r = q("select distinct hubloc_sitekey, hubloc_callback, hubloc_host from hubloc + where hubloc_hash in (" . implode(',',$recipients) . ") $sql_extra group by hubloc_sitekey"); if(! $r) { logger('notifier: no hubs'); return; |