aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-01 07:44:07 +0000
committerMario <mario@mariovavti.com>2020-04-01 07:44:07 +0000
commitffe429be65e8d6198579d3dd987053387799ca78 (patch)
tree1c88542037942394beea6bb6a15db7cab80941cc /Zotlabs
parentb739f91caa1522522a4ce093d7c63f0f4c777085 (diff)
downloadvolse-hubzilla-ffe429be65e8d6198579d3dd987053387799ca78.tar.gz
volse-hubzilla-ffe429be65e8d6198579d3dd987053387799ca78.tar.bz2
volse-hubzilla-ffe429be65e8d6198579d3dd987053387799ca78.zip
transition connections to zot6 if their site has been updated
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Daemon/Cron_daily.php2
-rw-r--r--Zotlabs/Module/Connections.php2
-rw-r--r--Zotlabs/Update/_1236.php8
3 files changed, 8 insertions, 4 deletions
diff --git a/Zotlabs/Daemon/Cron_daily.php b/Zotlabs/Daemon/Cron_daily.php
index 452ef45f1..2cf0c9119 100644
--- a/Zotlabs/Daemon/Cron_daily.php
+++ b/Zotlabs/Daemon/Cron_daily.php
@@ -96,7 +96,9 @@ class Cron_daily {
Master::Summon(array('Cli_suggest'));
remove_obsolete_hublocs();
+
z6_discover();
+ z6trans_connections();
call_hooks('cron_daily',datetime_convert());
diff --git a/Zotlabs/Module/Connections.php b/Zotlabs/Module/Connections.php
index 029601867..7dc301623 100644
--- a/Zotlabs/Module/Connections.php
+++ b/Zotlabs/Module/Connections.php
@@ -34,7 +34,7 @@ class Connections extends \Zotlabs\Web\Controller {
}
nav_set_selected('Connections');
-
+
$active = false;
$blocked = false;
$hidden = false;
diff --git a/Zotlabs/Update/_1236.php b/Zotlabs/Update/_1236.php
index d40cc9e25..6b4e7b299 100644
--- a/Zotlabs/Update/_1236.php
+++ b/Zotlabs/Update/_1236.php
@@ -105,10 +105,12 @@ class _1236 {
}
- if(count($r) == $i)
+ if(count($r) == $i) {
+ z6trans_connections();
return UPDATE_SUCCESS;
- else
- return UPDATE_FAILED;
+ }
+
+ return UPDATE_FAILED;
}