aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Cron_daily.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-14 10:45:01 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-14 10:45:01 +0200
commitad45205ddf53e41fe1ea42ae3ff8abe0d1846ced (patch)
tree19093103eb8bf321b7097c328a2120c5b333f3f2 /Zotlabs/Daemon/Cron_daily.php
parent409e9208eec94ac05aa0105f7e6151807b48dd9b (diff)
downloadvolse-hubzilla-ad45205ddf53e41fe1ea42ae3ff8abe0d1846ced.tar.gz
volse-hubzilla-ad45205ddf53e41fe1ea42ae3ff8abe0d1846ced.tar.bz2
volse-hubzilla-ad45205ddf53e41fe1ea42ae3ff8abe0d1846ced.zip
this has been moved to cron for now
Diffstat (limited to 'Zotlabs/Daemon/Cron_daily.php')
-rw-r--r--Zotlabs/Daemon/Cron_daily.php11
1 files changed, 0 insertions, 11 deletions
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'));