aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index f4774c4ba..e368896ca 100755
--- a/boot.php
+++ b/boot.php
@@ -1179,6 +1179,13 @@ function check_config(&$a) {
$a->set_baseurl($a->get_baseurl());
+ // 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();
+
if($build != DB_UPDATE_VERSION) {
$stored = intval($build);
if(! $stored) {