From adf53add3a5ff1fa9a1cde84c72c3545a508240f Mon Sep 17 00:00:00 2001 From: Jeremy Beker Date: Sun, 16 Jun 2019 13:15:36 -0400 Subject: [PATCH] removed unused page number function. --- .../GoogleReaderCompatibleAPICaller.swift | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/Frameworks/Account/GoogleReaderCompatible/GoogleReaderCompatibleAPICaller.swift b/Frameworks/Account/GoogleReaderCompatible/GoogleReaderCompatibleAPICaller.swift index 83c6158f5..6b914266d 100644 --- a/Frameworks/Account/GoogleReaderCompatible/GoogleReaderCompatibleAPICaller.swift +++ b/Frameworks/Account/GoogleReaderCompatible/GoogleReaderCompatibleAPICaller.swift @@ -984,24 +984,4 @@ extension GoogleReaderCompatibleAPICaller { accountMetadata?.conditionalGetInfo = conditionalGet } } - - func extractPageNumber(link: String?) -> Int? { - - guard let link = link else { - return nil - } - - if let lowerBound = link.range(of: "page=")?.upperBound { - if let upperBound = link.range(of: "&")?.lowerBound { - return Int(link[lowerBound..")?.lowerBound { - return Int(link[lowerBound..