From 5dade2b608affa50e830bf0b93888c2b0570a2bb Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 3 Nov 2015 20:40:43 -0800 Subject: backport small bits of the re-install fix; at least the damaging bits --- mod/post.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mod') diff --git a/mod/post.php b/mod/post.php index a429dc33a..682e04818 100644 --- a/mod/post.php +++ b/mod/post.php @@ -724,12 +724,12 @@ function post_post(&$a) { * Any hub with the same URL and a different sitekey cannot be valid. * Get rid of them (mark them deleted). There's a good chance they were re-installs. */ - - q("update hubloc set hubloc_flags = ( hubloc_flags | %d ) where hubloc_url = '%s' and hubloc_sitekey != '%s' ", - intval(HUBLOC_FLAGS_DELETED), - dbesc($hub['hubloc_url']), - dbesc($hub['hubloc_sitekey']) - ); +// fixed in hubzilla with a protocol change +// q("update hubloc set hubloc_flags = ( hubloc_flags | %d ) where hubloc_url = '%s' and hubloc_sitekey != '%s' ", +// intval(HUBLOC_FLAGS_DELETED), +// dbesc($hub['hubloc_url']), +// dbesc($hub['hubloc_sitekey']) +// ); /** @TODO check which hub is primary and take action if mismatched */ -- cgit v1.2.3