Permalink
Browse files

fix Kevin Ballard's silly preference file that he messed up and was t…

…otally not my fault at all AT ALL

(cherry picked from commit d85ab69)
  • Loading branch information...
1 parent 9c181b6 commit 33c8bcf7f987585ea55fd69a14fa46e89cd3493b @simX simX committed Sep 21, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 Plugin/Plugin.m
View
@@ -508,6 +508,10 @@ - (void) _migratePrefsToExternalFile
NSMutableArray *combinedWhitelist = [NSMutableArray arrayWithArray:prefValue];
[combinedWhitelist addObjectsFromArray:existingExternalPref];
[externalFileDefaults setObject:combinedWhitelist forKey:externalPrefDefaultName];
+
+ // because people named Kevin Ballard messed up their preferences file and somehow
+ // managed to retain ClickToFlash_siteInfo in their com.github plist file
+ [externalFileDefaults removeObjectForKey:currentParasiticDefault];
}
}
// eliminate the parasitic default, regardless of whether we transferred them or not

0 comments on commit 33c8bcf

Please sign in to comment.