From 017f4c7ea57745f4f0e7626611a9969683dfe15a Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Mon, 19 Jul 2021 09:44:36 +1000 Subject: [PATCH] Remove orphaned code --- Session/Meta/AppDelegate.m | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Session/Meta/AppDelegate.m b/Session/Meta/AppDelegate.m index 9c7500536..1ab79f8e4 100644 --- a/Session/Meta/AppDelegate.m +++ b/Session/Meta/AppDelegate.m @@ -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