Fix for using any method automatically triggering checkForUpdate via notification

This commit is contained in:
Andreas Linde 2012-02-19 21:54:42 +01:00
parent 0dc8ed1a34
commit ac8b32d239

View File

@ -803,6 +803,7 @@ static NSString *kHockeyErrorDomain = @"HockeyErrorDomain";
}
- (void)checkForUpdate {
if (!updateURL_) return;
if (self.requireAuthorization) return;
if (self.isUpdateAvailable && [self.app.mandatory boolValue]) {
[self showCheckForUpdateAlert_];