From 70ff71c03b2e9663b4b6e3a536cd726749039a08 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 7 Mar 2014 21:31:19 +0000 Subject: Create a sys chan for hubs that already exist too. --- boot.php | 7 +++++++ 1 file changed, 7 insertions(+) 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) { -- cgit v1.2.3