aboutsummaryrefslogtreecommitdiffstats
path: root/include/directory.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-14 16:54:58 -0700
committerfriendica <info@friendica.com>2013-06-14 16:54:58 -0700
commit765d6e0a97f135755d6ec1322f6e3272bc0ae620 (patch)
treeac7d0691343a0c0951ff19b1ee46cd21afaf3c4c /include/directory.php
parent9b67e114ad9da2b5e0456709affd20d9c760e4ae (diff)
downloadvolse-hubzilla-765d6e0a97f135755d6ec1322f6e3272bc0ae620.tar.gz
volse-hubzilla-765d6e0a97f135755d6ec1322f6e3272bc0ae620.tar.bz2
volse-hubzilla-765d6e0a97f135755d6ec1322f6e3272bc0ae620.zip
push refresh messages, performance work on conversations and configs, doc updates
Diffstat (limited to 'include/directory.php')
-rw-r--r--include/directory.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/directory.php b/include/directory.php
index 5f24b4af8..5f3696a58 100644
--- a/include/directory.php
+++ b/include/directory.php
@@ -41,11 +41,16 @@ function directory_run($argv, $argc){
$url = DIRECTORY_FALLBACK_MASTER . '/post';
}
+ // ensure the upstream directory is updated
+
$packet = zot_build_packet($channel,'refresh');
$z = zot_zot($url,$packet);
-
// re-queue if unsuccessful
+ // Now update all the connections
+
+ proc_run('php','notifier','refresh_all',$channel['channel_id']);
+
}
if (array_search(__file__,get_included_files())===0){