changeset 3962:f68529ff47a4

Removed dead code.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 16 Jul 2019 18:39:24 +0200
parents 9d395217bd1f
children 7015fb18d536
files pkg/controllers/search.go
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/search.go	Tue Jul 16 18:32:24 2019 +0200
+++ b/pkg/controllers/search.go	Tue Jul 16 18:39:24 2019 +0200
@@ -17,7 +17,6 @@
 import (
 	"database/sql"
 	"net/http"
-	"regexp"
 	"strings"
 
 	"gemma.intevation.de/gemma/pkg/models"
@@ -39,10 +38,6 @@
 `
 )
 
-var rkmRegex = regexp.MustCompile(
-	"^[[:space:]]*([0-9]+)([,.]([0-9]))?[[:space:]]*$",
-)
-
 func searchFeature(
 	input interface{},
 	req *http.Request,