Don't bother cleaning up CKOperations per feature flag.

pull/2/head
Matthew Chen 6 years ago
parent 9c9545b408
commit d189621495

@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
//
#import "OWSBackup.h"
@ -138,7 +138,9 @@ NSError *OWSBackupErrorWithDescription(NSString *description)
- (void)setup
{
[OWSBackupAPI setup];
if (OWSBackup.isFeatureEnabled) {
[OWSBackupAPI setup];
}
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(applicationDidBecomeActive:)

Loading…
Cancel
Save