Remove orphaned code
This commit is contained in:
parent
614626bffb
commit
017f4c7ea5
|
@ -159,15 +159,6 @@ static NSTimeInterval launchStartedAt;
|
|||
// XXX - careful when moving this. It must happen before we initialize OWSPrimaryStorage.
|
||||
[self verifyDBKeysAvailableBeforeBackgroundLaunch];
|
||||
|
||||
#if RELEASE
|
||||
// ensureIsReadyForAppExtensions may have changed the state of the logging
|
||||
// preference (due to [NSUserDefaults migrateToSharedUserDefaults]), so honor
|
||||
// that change if necessary.
|
||||
if (isLoggingEnabled && !OWSPreferences.isLoggingEnabled) {
|
||||
[DebugLogger.sharedLogger disableFileLogging];
|
||||
}
|
||||
#endif
|
||||
|
||||
[AppVersion sharedInstance];
|
||||
|
||||
// Prevent the device from sleeping during database view async registration
|
||||
|
|
Loading…
Reference in New Issue