aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2020-08-26 21:13:32 +0200
committerMario Vavti <mario@mariovavti.com>2020-08-26 21:13:32 +0200
commit1b161b0ee4d16711dc6540b14f50f20b68a7b565 (patch)
tree2cf04261f9be0839055932a9a544e91ebce773e1 /Zotlabs
parent5aaa8f44a284a9c6c69f0c4bb11d59cb3c048b36 (diff)
downloadvolse-hubzilla-1b161b0ee4d16711dc6540b14f50f20b68a7b565.tar.gz
volse-hubzilla-1b161b0ee4d16711dc6540b14f50f20b68a7b565.tar.bz2
volse-hubzilla-1b161b0ee4d16711dc6540b14f50f20b68a7b565.zip
move z6trans_connections() to cron from cron daily
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Daemon/Cron.php5
-rw-r--r--Zotlabs/Daemon/Cron_daily.php1
2 files changed, 5 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Cron.php b/Zotlabs/Daemon/Cron.php
index 46f4e4071..703d6ce08 100644
--- a/Zotlabs/Daemon/Cron.php
+++ b/Zotlabs/Daemon/Cron.php
@@ -155,6 +155,11 @@ class Cron {
}
}
+
+ // check if any connections transitioned to zot6 and upgrade the connections to zot6 at this hub if so.
+ require_once('include/connections.php');
+ z6trans_connections();
+
require_once('include/attach.php');
attach_upgrade();
diff --git a/Zotlabs/Daemon/Cron_daily.php b/Zotlabs/Daemon/Cron_daily.php
index 2cf0c9119..07533cc6e 100644
--- a/Zotlabs/Daemon/Cron_daily.php
+++ b/Zotlabs/Daemon/Cron_daily.php
@@ -98,7 +98,6 @@ class Cron_daily {
remove_obsolete_hublocs();
z6_discover();
- z6trans_connections();
call_hooks('cron_daily',datetime_convert());