Create a sys chan for hubs that already exist too.
This commit is contained in:
parent
9f11132461
commit
70ff71c03b
7
boot.php
7
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) {
|
||||
|
Reference in New Issue
Block a user