From: Andrew Dolgov Date: Sat, 30 Jan 2016 10:03:00 +0000 (+0300) Subject: pref-labels: remove obsolete searching code X-Git-Tag: 16.3~37 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=67f3e3f94296cfa95bc8f4c60877c3d1532b803a;p=tt-rss.git pref-labels: remove obsolete searching code --- diff --git a/classes/pref/labels.php b/classes/pref/labels.php index 2ad152c2..458e4f88 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 "
";