Skip to content

Commit

Permalink
[JENKINS-31162] Removed CopyCategory
Browse files Browse the repository at this point in the history
  • Loading branch information
recena committed Mar 15, 2016
1 parent 2bdcd5b commit a39a7f8
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions core/src/main/java/hudson/model/ItemGroupMixIn.java
Expand Up @@ -365,19 +365,6 @@ public static Categories getCategories(Authentication a, ItemGroup c) {
categories.getItems().add(category);
}
}
if (Jenkins.getInstance().getAllItems().size() > 0) {
Map<String, Serializable> metadata = new HashMap<String, Serializable>();

// Information about Item.
metadata.put("class", "copy");
metadata.put("weight", Integer.MIN_VALUE);
metadata.put("displayName", "");
metadata.put("description", "");

Category copy = new Category("category-id-copy", "Copy existing Item", "Use an existing item as a starting point for creating a new item configuration.",
ItemCategory.MIN_WEIGHT, ItemCategory.MIN_TOSHOW, new ArrayList<Map<String, Serializable>>());
categories.getItems().add(copy);
}
return categories;
}

Expand Down

0 comments on commit a39a7f8

Please sign in to comment.