aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-10-23 14:56:41 +0200
committerHarald Eilertsen <haraldei@anduin.net>2024-10-23 14:56:41 +0200
commit8f4c3a2f88d3770e6cfebaa61671f54fa17a34e1 (patch)
tree2f95124f88bcd7d568f86d53f420190ae56e2178 /boot.php
parente2ae8f0c4d83060b2606f03b1c86d040c3161f18 (diff)
parente530476e6c5d2319f3a0a09dfe73ec181e923325 (diff)
downloadvolse-hubzilla-8f4c3a2f88d3770e6cfebaa61671f54fa17a34e1.tar.gz
volse-hubzilla-8f4c3a2f88d3770e6cfebaa61671f54fa17a34e1.tar.bz2
volse-hubzilla-8f4c3a2f88d3770e6cfebaa61671f54fa17a34e1.zip
Merge branch 'dev' into make-db-upgrade-static-method
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/boot.php b/boot.php
index 6d53f7f25..8723874b9 100644
--- a/boot.php
+++ b/boot.php
@@ -1538,14 +1538,7 @@ function check_config() {
App::set_baseurl(z_root());
- // Make sure each site has a system channel. This is now created on install
- // so we just need to keep this around a couple of weeks until the hubs that
- // already exist have one
- $syschan_exists = get_sys_channel();
- if (!$syschan_exists)
- create_sys_channel();
-
- DB_Upgrade::run(DB_UPDATE_VERSION);
+ new DB_Upgrade(DB_UPDATE_VERSION);
plugins_sync();