summaryrefslogtreecommitdiff
path: root/classes/pref/labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-01-30 13:03:00 +0300
committerAndrew Dolgov <[email protected]>2016-01-30 13:03:00 +0300
commit67f3e3f94296cfa95bc8f4c60877c3d1532b803a (patch)
tree4cab240b6d2f8e845557713d63e8a208572b93b1 /classes/pref/labels.php
parent9def5540825b42b7d3cee1fc484757bf5009c556 (diff)
pref-labels: remove obsolete searching code
Diffstat (limited to 'classes/pref/labels.php')
-rw-r--r--classes/pref/labels.php14
1 files changed, 0 insertions, 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 "<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\">";