From 67f3e3f94296cfa95bc8f4c60877c3d1532b803a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 30 Jan 2016 13:03:00 +0300 Subject: [PATCH] pref-labels: remove obsolete searching code --- classes/pref/labels.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/classes/pref/labels.php b/classes/pref/labels.php index 2ad152c2d..458e4f88b 100644 --- a/classes/pref/labels.php +++ b/classes/pref/labels.php @@ -250,20 +250,6 @@ class Pref_Labels extends Handler_Protected { function index() { - $sort = $this->dbh->escape_string($_REQUEST["sort"]); - - if (!$sort || $sort == "undefined") { - $sort = "caption"; - } - - $label_search = $this->dbh->escape_string($_REQUEST["search"]); - - if (array_key_exists("search", $_REQUEST)) { - $_SESSION["prefs_label_search"] = $label_search; - } else { - $label_search = $_SESSION["prefs_label_search"]; - } - print "
"; print "
"; print "
";