From 33c8bcf7f987585ea55fd69a14fa46e89cd3493b Mon Sep 17 00:00:00 2001 From: Simone Manganelli Date: Mon, 21 Sep 2009 01:59:46 -0700 Subject: [PATCH] fix Kevin Ballard's silly preference file that he messed up and was totally not my fault at all AT ALL (cherry picked from commit d85ab691691ccecce5d49604095d0a24563c7dca) --- Plugin/Plugin.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Plugin/Plugin.m b/Plugin/Plugin.m index 186ae41c..8c26da02 100755 --- a/Plugin/Plugin.m +++ b/Plugin/Plugin.m @@ -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