diff options
Diffstat (limited to 'Source/SPPreferenceController.m')
-rw-r--r-- | Source/SPPreferenceController.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m index a960c555..3bbc42a2 100644 --- a/Source/SPPreferenceController.m +++ b/Source/SPPreferenceController.m @@ -303,6 +303,12 @@ [prefs removeObjectForKey:@"FetchCorrectRowCount"]; } + // For versions prior to r2056 (~0.9.8), reset the Sparkle prefs so the user is prompted about submitting information + if (recordedVersionNumber < 2056 && [prefs objectForKey:@"SUEnableAutomaticChecks"]) { + [prefs removeObjectForKey:@"SUEnableAutomaticChecks"]; + [prefs removeObjectForKey:@"SUSendProfileInfo"]; + } + // Update the prefs revision [prefs setObject:[NSNumber numberWithInteger:currentVersionNumber] forKey:SPLastUsedVersion]; } |