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