Support for the new nodeinfo protocol that will replace statistics.json

This commit is contained in:
Michael Vogel 2015-08-10 21:33:57 +02:00
parent 8f5d2471dd
commit 820ded2c2d
3 changed files with 226 additions and 0 deletions

View 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`");