From b561342aa69f30fbd5e66927501def426ba8337e Mon Sep 17 00:00:00 2001 From: Ryan Wilson Date: Tue, 17 Oct 2017 16:47:08 -0400 Subject: Remove unused internal function. (#383) This isn't referenced anywhere internally or externally. --- Firebase/Core/FIRApp.m | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'Firebase/Core/FIRApp.m') diff --git a/Firebase/Core/FIRApp.m b/Firebase/Core/FIRApp.m index 718734b..97a6896 100644 --- a/Firebase/Core/FIRApp.m +++ b/Firebase/Core/FIRApp.m @@ -108,24 +108,6 @@ static FIRApp *sDefaultApp; [FIRApp configureDefaultAppWithOptions:options sendingNotifications:YES]; } -+ (void)configureWithoutSendingNotification { - FIROptions *options = [FIROptions defaultOptions]; - if (!options) { - [[NSNotificationCenter defaultCenter] - postNotificationName:kFIRAppDiagnosticsNotification - object:nil - userInfo:@{ - kFIRAppDiagnosticsConfigurationTypeKey : @(FIRConfigTypeCore), - kFIRAppDiagnosticsErrorKey : [FIRApp errorForMissingOptions] - }]; - [NSException raise:kFirebaseCoreErrorDomain - format: - @"Please check there is a valid " - @"GoogleService-Info.plist in the project."]; - } - [FIRApp configureDefaultAppWithOptions:options sendingNotifications:NO]; -} - + (void)configureDefaultAppWithOptions:(FIROptions *)options sendingNotifications:(BOOL)sendNotifications { if (sDefaultApp) { -- cgit v1.2.3