aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-05-12 08:23:41 +0000
committerMario <mario@mariovavti.com>2020-05-12 08:23:41 +0000
commit22d8523e76f45532aa874eb2da78d9956e4b165e (patch)
tree87be05752651590243d85916cd76de40c7464a41
parent2d3740b91246b37349b3ffa373f2706cd8b14b29 (diff)
downloadvolse-hubzilla-22d8523e76f45532aa874eb2da78d9956e4b165e.tar.gz
volse-hubzilla-22d8523e76f45532aa874eb2da78d9956e4b165e.tar.bz2
volse-hubzilla-22d8523e76f45532aa874eb2da78d9956e4b165e.zip
DB update 1238 to fix hubloc_id_url for existing hublocs and set hubloc_id_url in Activity::actor_store()
-rw-r--r--Zotlabs/Lib/Activity.php3
-rwxr-xr-xboot.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 3287dd6fb..4b7ed30f3 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -1548,7 +1548,8 @@ class Activity {
'hubloc_host' => $hostname,
'hubloc_callback' => $inbox,
'hubloc_updated' => datetime_convert(),
- 'hubloc_primary' => 1
+ 'hubloc_primary' => 1,
+ 'hubloc_id_url' => $profile
]
);
}
diff --git a/boot.php b/boot.php
index b02a2a84a..2c8183e40 100755
--- a/boot.php
+++ b/boot.php
@@ -53,7 +53,7 @@ define ( 'PLATFORM_NAME', 'hubzilla' );
define ( 'STD_VERSION', '4.7.6' );
define ( 'ZOT_REVISION', '6.0a' );
-define ( 'DB_UPDATE_VERSION', 1237 );
+define ( 'DB_UPDATE_VERSION', 1238 );
define ( 'PROJECT_BASE', __DIR__ );