From ecf9f5b5bf7c25d736ba3cc315d3b95cca3cf9a2 Mon Sep 17 00:00:00 2001 From: Dominic Reynolds Date: Mon, 30 Jul 2007 01:54:25 +0000 Subject: [PATCH] Fix bug in changehat handling code where profiles read in from were set as changed even though they may not be active profiles. --- utils/SubDomain.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/utils/SubDomain.pm b/utils/SubDomain.pm index 7585ede0e..c674876ed 100755 --- a/utils/SubDomain.pm +++ b/utils/SubDomain.pm @@ -4051,10 +4051,6 @@ sub parse_profile_data { for my $hat (split(/\s+/, $cfg->{required_hats}{$hatglob})) { unless ($profile_data->{$parsed_profile}{$hat}) { $profile_data->{$parsed_profile}{$hat} = { }; - # if we had to auto-instantiate a hat, - # we want to write out - # an updated version of the profile - $changed{$parsed_profile} = 1; } } }