diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-03 19:50:40 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-03 19:50:40 -0800 |
commit | 2fbfc2a8f176ef6ca9389f04b67e5734596ed0da (patch) | |
tree | 0738c93d610b5d3694199764feb7e93db1f8699d /include/Contact.php | |
parent | e09b49288fa415c85d5ee1e77218c0b4c2b54a1d (diff) | |
download | volse-hubzilla-2fbfc2a8f176ef6ca9389f04b67e5734596ed0da.tar.gz volse-hubzilla-2fbfc2a8f176ef6ca9389f04b67e5734596ed0da.tar.bz2 volse-hubzilla-2fbfc2a8f176ef6ca9389f04b67e5734596ed0da.zip |
need better peer verification due to re-install issue, this is temporary
Diffstat (limited to 'include/Contact.php')
-rw-r--r-- | include/Contact.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Contact.php b/include/Contact.php index 8e22c608e..3bd5f9936 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -292,7 +292,8 @@ function channel_remove($channel_id, $local = true, $unset_session=true) { intval($channel_id) ); - + logger('deleting hublocs',LOGGER_DEBUG); + $r = q("update hubloc set hubloc_deleted = 1 where hubloc_hash = '%s'", dbesc($channel['channel_hash']) ); @@ -349,6 +350,8 @@ function channel_remove($channel_id, $local = true, $unset_session=true) { } + logger('deleting hublocs',LOGGER_DEBUG); + $r = q("update hubloc set hubloc_deleted = 1 where hubloc_hash = '%s' and hubloc_url = '%s' ", dbesc($channel['channel_hash']), dbesc(z_root()) |