aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-04-23 12:58:36 +0200
committerMario Vavti <mario@mariovavti.com>2017-04-23 12:58:36 +0200
commitb6be0e1b996840192ea50b864b260d4d4cefbbb2 (patch)
tree8ebba006b50afa8c6e543d432b312ba87b859323
parent01809b08c96e2fcdbac4f9fbf327291d60ec6008 (diff)
downloadvolse-hubzilla-b6be0e1b996840192ea50b864b260d4d4cefbbb2.tar.gz
volse-hubzilla-b6be0e1b996840192ea50b864b260d4d4cefbbb2.tar.bz2
volse-hubzilla-b6be0e1b996840192ea50b864b260d4d4cefbbb2.zip
Revert "if there is no site record, site_dead won't be 0, in a left join it will in fact be null. As long as it isn't 1, we should attempt delivery."
This reverts commit 42f5291f692965944076a5005b101fe409bb182c.
-rw-r--r--Zotlabs/Daemon/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php
index 3afe1a5dc..48f1d2757 100644
--- a/Zotlabs/Daemon/Notifier.php
+++ b/Zotlabs/Daemon/Notifier.php
@@ -480,7 +480,7 @@ class Notifier {
// Let's reduce this to a set of hubs; checking that the site is not dead.
$r = q("select hubloc.*, site.site_crypto from hubloc left join site on site_url = hubloc_url where hubloc_hash in (" . implode(',',$recipients) . ")
- and hubloc_error = 0 and hubloc_deleted = 0 and ( site_dead = 0 OR site_dead is null ) "
+ and hubloc_error = 0 and hubloc_deleted = 0 and site_dead = 0"
);