From 25394dc6407ec3a9c6e58ef651abc65c322aade2 Mon Sep 17 00:00:00 2001 From: Scott Pfeil Date: Wed, 21 Jun 2023 12:23:59 -0400 Subject: [PATCH] remove debug code for now --- MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m | 5 ----- MVMCore/MVMCore/MainProtocols/MVMCoreGlobalLoadProtocol.h | 5 ----- 2 files changed, 10 deletions(-) diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m index 012d0ca..dd5b822 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m @@ -371,11 +371,6 @@ return; } -#if TESTING - if ([[MVMCoreObject sharedInstance].globalLoadDelegate respondsToSelector:@selector(modifyJSON:)]) { - jsonDictionary = [[MVMCoreObject sharedInstance].globalLoadDelegate modifyJSON:jsonDictionary]; - } -#endif loadObject.responseJSON = jsonDictionary; // Store the new page data if we didn't load page data from the cache. diff --git a/MVMCore/MVMCore/MainProtocols/MVMCoreGlobalLoadProtocol.h b/MVMCore/MVMCore/MainProtocols/MVMCoreGlobalLoadProtocol.h index 2b66238..65ea153 100644 --- a/MVMCore/MVMCore/MainProtocols/MVMCoreGlobalLoadProtocol.h +++ b/MVMCore/MVMCore/MainProtocols/MVMCoreGlobalLoadProtocol.h @@ -16,11 +16,6 @@ @optional -#if TESTING -/// Allows a chance to modify the json and provide local test json. -- (nonnull NSDictionary *)modifyJSON:(nonnull NSDictionary *)json; -#endif - // Provides the desired error screen for the native error. Called on the main thread. If set, any native errors or NSURLErrorDomain errors will use a native screen. - (nullable UIViewController *)getNativeScreenForRequestError:(nonnull MVMCoreErrorObject *)errorObject requestObject:(nonnull MVMCoreRequestParameters *)requestObject;