mirror of
https://github.com/signalapp/Signal-iOS.git
synced 2025-12-05 01:10:41 +00:00
Remove unused logCurlOnSuccess
This commit is contained in:
@@ -30,12 +30,6 @@ class RESTNetworkManager {
|
||||
|
||||
let result = try await sessionManager.performRequest(request)
|
||||
|
||||
#if TESTABLE_BUILD
|
||||
if DebugFlags.logCurlOnSuccess {
|
||||
HTTPUtils.logCurl(for: request)
|
||||
}
|
||||
#endif
|
||||
|
||||
OutageDetection.shared.reportConnectionSuccess()
|
||||
|
||||
return result
|
||||
|
||||
@@ -348,12 +348,6 @@ public class OWSURLSession: OWSURLSessionProtocol {
|
||||
}
|
||||
}
|
||||
|
||||
#if TESTABLE_BUILD
|
||||
if DebugFlags.logCurlOnSuccess, let originalRequest {
|
||||
HTTPUtils.logCurl(for: originalRequest)
|
||||
}
|
||||
#endif
|
||||
|
||||
return httpUrlResponse
|
||||
}
|
||||
|
||||
|
||||
@@ -123,13 +123,6 @@ public enum DebugFlags {
|
||||
|
||||
public static let internalMegaphoneEligible = build.includes(.internal)
|
||||
|
||||
// Currently this flag is only honored by NetworkManager,
|
||||
// but we could eventually honor in other places as well:
|
||||
//
|
||||
// * The socket manager.
|
||||
// * Places we make requests using tasks.
|
||||
public static let logCurlOnSuccess = false
|
||||
|
||||
public static let verboseNotificationLogging = build.includes(.internal)
|
||||
|
||||
public static let deviceTransferVerboseProgressLogging = build.includes(.internal)
|
||||
|
||||
Reference in New Issue
Block a user