diff options
author | Thomas Willingham <founder@kakste.com> | 2014-03-07 21:31:19 +0000 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2014-03-07 21:31:19 +0000 |
commit | 70ff71c03b2e9663b4b6e3a536cd726749039a08 (patch) | |
tree | 09f655c2896a90057e25343012b447f5cf3f7fbb | |
parent | 9f111324616269f61560cf8097737ebd408eea94 (diff) | |
download | volse-hubzilla-70ff71c03b2e9663b4b6e3a536cd726749039a08.tar.gz volse-hubzilla-70ff71c03b2e9663b4b6e3a536cd726749039a08.tar.bz2 volse-hubzilla-70ff71c03b2e9663b4b6e3a536cd726749039a08.zip |
Create a sys chan for hubs that already exist too.
-rwxr-xr-x | boot.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) { |