A little cleanup on bricooke's patch.

This commit is contained in:
Andy Matuschak committed 2009-08-20 20:58:53 -07:00
1 parent 827c6adc03
commit f95cf6454d
1 file changed
+1 -3
+1 -3
View File
@@ -113,11 +113,9 @@ static NSString *SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaultsObserv
if (shouldPrompt)
{
NSArray *profileInfo = [host systemProfile];
// Always say we're sending the system profile here so that the delegate displays the parameters it would send.
if ([delegate respondsToSelector:@selector(feedParametersForUpdater:sendingSystemProfile:)])
{
// always say we're sending the system profile here so that the delegate puts in their parameters for display
profileInfo = [profileInfo arrayByAddingObjectsFromArray:[delegate feedParametersForUpdater:self sendingSystemProfile:YES]];
}
[SUUpdatePermissionPrompt promptWithHost:host systemProfile:profileInfo delegate:self];
// We start the update checks and register as observer for changes after the prompt finishes
}