From f95cf6454dc3844d7a7b5a08abc256799288513f Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Thu, 20 Aug 2009 20:58:53 -0700 Subject: [PATCH] A little cleanup on bricooke's patch. --- SUUpdater.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SUUpdater.m b/SUUpdater.m index d9bd23e9..0648f007 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -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 }