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 %s", htmlspecialchars($caption));
}
}
-
- if ($output == "select") {
- header("Content-Type: text/xml");
-
- print "";
-
- print_label_select("select_label",
- $caption, "");
-
- print "";
- }
}
-
- return;
}
function index() {