Skip to content

Commit

Permalink
Remove UI helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-beck committed Apr 4, 2019
1 parent 03720d6 commit b206e3c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions core/src/main/java/hudson/Functions.java
Expand Up @@ -2054,14 +2054,4 @@ public static boolean isContextMenuVisible(Action a) {
return true;
}
}

@Restricted(NoExternalUse.class) // for cc.xml.jelly
public static Collection<TopLevelItem> getCCItems(View v) {
if (Stapler.getCurrentRequest().getParameter("recursive") != null) {
return v.getOwner().getItemGroup().getAllItems(TopLevelItem.class);
} else {
return v.getItems();
}
}

}

0 comments on commit b206e3c

Please sign in to comment.