]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref-labels: remove obsolete searching code
authorAndrew Dolgov <noreply@fakecake.org>
Sat, 30 Jan 2016 10:03:00 +0000 (13:03 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sat, 30 Jan 2016 10:03:00 +0000 (13:03 +0300)
classes/pref/labels.php

index 2ad152c2d40d4d3fdb7889b4c567a47c7c42ca10..458e4f88b0a9b39c28b8b4cfb8f9180d3e0a151d 100644 (file)
@@ -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 "<div id=\"pref-label-wrap\" dojoType=\"dijit.layout.BorderContainer\" gutters=\"false\">";
                print "<div id=\"pref-label-header\" dojoType=\"dijit.layout.ContentPane\" region=\"top\">";
                print "<div id=\"pref-label-toolbar\" dojoType=\"dijit.Toolbar\">";