diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-03 20:46:47 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-03 20:46:47 -0800 |
commit | 77a03e376c5b39d26c1bb5bc5f442b5e7fa1437e (patch) | |
tree | e872084f46ebc7dea9c2ca0198e333a4390bc2a3 /mod/post.php | |
parent | 877b3361c8145465f81ef9435031826f72b37001 (diff) | |
parent | 5dade2b608affa50e830bf0b93888c2b0570a2bb (diff) | |
download | volse-hubzilla-77a03e376c5b39d26c1bb5bc5f442b5e7fa1437e.tar.gz volse-hubzilla-77a03e376c5b39d26c1bb5bc5f442b5e7fa1437e.tar.bz2 volse-hubzilla-77a03e376c5b39d26c1bb5bc5f442b5e7fa1437e.zip |
Merge https://github.com/redmatrix/redmatrix into pending_merge
Conflicts:
include/photo/photo_driver.php
include/text.php
mod/post.php
Diffstat (limited to 'mod/post.php')
-rw-r--r-- | mod/post.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/post.php b/mod/post.php index 2a5e819a2..4c52de44a 100644 --- a/mod/post.php +++ b/mod/post.php @@ -705,6 +705,7 @@ function post_post(&$a) { // this field and we have to still mark them valid, since we can't tell // if this hubloc has the same sitekey as the packet we received. + // Update our DB to show when we last communicated successfully with this hub // This will allow us to prune dead hubs from using up resources @@ -735,6 +736,7 @@ function post_post(&$a) { $connecting_url = $hub['hubloc_url']; } + /** @TODO check which hub is primary and take action if mismatched */ if (array_key_exists('recipients', $data)) |