-
- if (get_config('communityhome','showcommunitystream')===true){
- $oldset = get_config('system','no_community_page');
- set_config('system','no_community_page', false);
+
+ if (Config::get('communityhome','showcommunitystream')===true){
+ $oldset = Config::get('system','community_page_style');
+ if ($oldset == CP_NO_COMMUNITY_PAGE)
+ Config::set('system','community_page_style', CP_USERS_ON_SERVER);
+