From ad45205ddf53e41fe1ea42ae3ff8abe0d1846ced Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 14 Apr 2023 10:45:01 +0200 Subject: this has been moved to cron for now --- Zotlabs/Daemon/Cron_daily.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Zotlabs/Daemon/Cron_daily.php') diff --git a/Zotlabs/Daemon/Cron_daily.php b/Zotlabs/Daemon/Cron_daily.php index 6d62836c7..850d38229 100644 --- a/Zotlabs/Daemon/Cron_daily.php +++ b/Zotlabs/Daemon/Cron_daily.php @@ -94,17 +94,6 @@ class Cron_daily { // expire any expired accounts downgrade_accounts(); - // If this is a directory server, request a sync with an upstream - // directory at least once a day, up to once every poll interval. - // Pull remote changes and push local changes. - // potential issue: how do we keep from creating an endless update loop? - - $dirmode = get_config('system', 'directory_mode'); - - if ($dirmode == DIRECTORY_MODE_SECONDARY || $dirmode == DIRECTORY_MODE_PRIMARY) { - Libzotdir::sync_directories($dirmode); - } - Master::Summon(array('Expire')); Master::Summon(array('Cli_suggest')); -- cgit v1.2.3