removed unused page number function.

This commit is contained in:
Jeremy Beker 2019-06-16 13:15:36 -04:00
parent 17439c8c5e
commit adf53add3a
No known key found for this signature in database
GPG Key ID: CD5EE767A4A34FD0
1 changed files with 0 additions and 20 deletions

View File

@ -984,24 +984,4 @@ extension GoogleReaderCompatibleAPICaller {
accountMetadata?.conditionalGetInfo = conditionalGet 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..<upperBound])
}
if let upperBound = link.range(of: ">")?.lowerBound {
return Int(link[lowerBound..<upperBound])
}
}
return nil
}
} }