aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-03 20:40:43 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-03 20:40:43 -0800
commit5dade2b608affa50e830bf0b93888c2b0570a2bb (patch)
tree3cc24ac2b984208dc825adea5023c5272d370dd5
parent6aa98a1e91dde244f94d7c22a8137b55c5d7b189 (diff)
downloadvolse-hubzilla-5dade2b608affa50e830bf0b93888c2b0570a2bb.tar.gz
volse-hubzilla-5dade2b608affa50e830bf0b93888c2b0570a2bb.tar.bz2
volse-hubzilla-5dade2b608affa50e830bf0b93888c2b0570a2bb.zip
backport small bits of the re-install fix; at least the damaging bits
-rw-r--r--mod/post.php12
1 files changed, 6 insertions, 6 deletions
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 */