diff --git a/Sparkle/SUUpdater.h b/Sparkle/SUUpdater.h index a937ada1..71fc369d 100644 --- a/Sparkle/SUUpdater.h +++ b/Sparkle/SUUpdater.h @@ -119,13 +119,6 @@ SU_EXPORT @interface SUUpdater : NSObject */ - (void)resetUpdateCycle; -/*! - Returns if an update is in progress or not - - This may be used for menu item validation to see if the user can check for updates. - */ -@property (readonly) BOOL updateInProgress; - @end #endif diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index 6e899083..8a19a99a 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -341,10 +341,6 @@ static void SUCheckForUpdatesInBgReachabilityCheck(__weak SUUpdater *updater, id - (void)checkForUpdatesWithDriver:(id )d { -// if ([self updateInProgress]) { -// return; -// } - if (self.driver != nil) { return; } @@ -601,11 +597,6 @@ static void SUCheckForUpdatesInBgReachabilityCheck(__weak SUUpdater *updater, id self.driver = nil; } -- (BOOL)updateInProgress -{ - return (self.driver != nil || [SUProbeInstallStatus probeInstallerInProgressForHost:self.host]); -} - - (NSBundle *)hostBundle { return [self.host bundle]; } @end