Create a sys chan for hubs that already exist too.

This commit is contained in:
Thomas Willingham 2014-03-07 21:31:19 +00:00
parent 9f11132461
commit 70ff71c03b

View File

@ -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) {