mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Support for the new nodeinfo protocol that will replace statistics.json
This commit is contained in:
parent
8f5d2471dd
commit
820ded2c2d
3 changed files with 226 additions and 0 deletions
|
@ -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`");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue