Remove unused function QueryParameterFromUrl

Change-Id: Icfb6b612da807f358af65e0c0c336e79c635085c
diff --git a/R/KorAPQuery.R b/R/KorAPQuery.R
index b2926d7..f3c286a 100644
--- a/R/KorAPQuery.R
+++ b/R/KorAPQuery.R
@@ -68,15 +68,6 @@
 
 maxResultsPerPage <- 50
 
-QueryParameterFromUrl <- function(url, parameter) {
-  regex <- paste0(".*[?&]", parameter, "=([^&]*).*")
-  if (grepl(regex, url)) {
-    return(gsub(regex, '\\1', url, perl = TRUE))
-  } else {
-    return("")
-  }
-}
-
 ## quiets concerns of R CMD check re: the .'s that appear in pipelines
 if(getRversion() >= "2.15.1")  utils::globalVariables(c("."))