Remove orphaned code

This commit is contained in:
Niels Andriesse 2021-07-19 09:44:36 +10:00
parent 614626bffb
commit 017f4c7ea5
1 changed files with 0 additions and 9 deletions

View File

@ -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