]> git.mxchange.org Git - friendica.git/blobdiff - include/poller.php
Support for the new nodeinfo protocol that will replace statistics.json
[friendica.git] / include / poller.php
index 7cc1a285276222cd1d1e0c06472fef06865cc111..b72a4a823fcfbbba123abded104603dcc10f2fd0 100644 (file)
@@ -36,6 +36,7 @@ function poller_run(&$argv, &$argc){
        require_once('include/email.php');
        require_once('include/socgraph.php');
        require_once('include/pidfile.php');
+       require_once('mod/nodeinfo.php');
 
        load_config('config');
        load_config('system');
@@ -117,6 +118,9 @@ function poller_run(&$argv, &$argc){
        // Check every conversation
        check_conversations(false);
 
+       // update nodeinfo data
+       nodeinfo_cron();
+
        // To-Do: Regenerate usage statistics
        // q("ANALYZE TABLE `item`");