--- loncom/interface/domainprefs.pm 2019/07/18 18:28:52 1.363 +++ loncom/interface/domainprefs.pm 2019/07/23 01:30:35 1.364 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.363 2019/07/18 18:28:52 raeburn Exp $ +# $Id: domainprefs.pm,v 1.364 2019/07/23 01:30:35 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -16895,6 +16895,10 @@ sub modify_coursecategories { } $resulttext .= ''; } + &Apache::lonnet::do_cache_new('cats',$dom,$cathash,3600); + if (ref($lastactref) eq 'HASH') { + $lastactref->{'cats'} = 1; + } } $resulttext .= ''; if ($changes{'unauth'} || $changes{'auth'}) { @@ -19675,7 +19679,7 @@ sub devalidate_remote_domconfs { my %thismachine; map { $thismachine{$_} = 1; } &Apache::lonnet::current_machine_ids(); my @posscached = ('domainconfig','domdefaults','ltitools','usersessions', - 'directorysrch','passwdconf'); + 'directorysrch','passwdconf','cats'); if (keys(%servers)) { foreach my $server (keys(%servers)) { next if ($thismachine{$server});