summaryrefslogtreecommitdiff
path: root/classes/pref/labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-16 14:19:06 +0300
committerAndrew Dolgov <[email protected]>2021-02-16 14:19:06 +0300
commitcb6b3584ce6160b69ee03f1a31660a430cb06854 (patch)
treed36fff839505e209d1b5d8a9af0158a99a08c7ff /classes/pref/labels.php
parent3887665bcbed344606f9630cd45316d56ce86203 (diff)
pref-labels: remove unused 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 d182a0995..0b826e13f 100644
--- a/classes/pref/labels.php
+++ b/classes/pref/labels.php
@@ -167,26 +167,12 @@ class Pref_Labels extends Handler_Protected {
$output = clean($_REQUEST["output"]);
if ($caption) {
-
if (Labels::create($caption)) {
if (!$output) {
print T_sprintf("Created label <b>%s</b>", htmlspecialchars($caption));
}
}
-
- if ($output == "select") {
- header("Content-Type: text/xml");
-
- print "<rpc-reply><payload>";
-
- print_label_select("select_label",
- $caption, "");
-
- print "</payload></rpc-reply>";
- }
}
-
- return;
}
function index() {