Merge branch 'charlesmchen/cleanCKOperationsVsFeatureFlag' into release/2.38.1

pull/2/head
Matthew Chen 6 years ago
commit 9bf7e8fb87

@ -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" #import "OWSBackup.h"
@ -138,6 +138,10 @@ NSError *OWSBackupErrorWithDescription(NSString *description)
- (void)setup - (void)setup
{ {
if (!OWSBackup.isFeatureEnabled) {
return;
}
[OWSBackupAPI setup]; [OWSBackupAPI setup];
[[NSNotificationCenter defaultCenter] addObserver:self [[NSNotificationCenter defaultCenter] addObserver:self

Loading…
Cancel
Save