mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-28 12:05:19 +00:00
Hide deprecated plugins inside the available section on update center
This commit is contained in:
3 files changed
+15
-2
No files matched your search
@@ -369,8 +369,7 @@ public class PluginWrapper implements Comparable<PluginWrapper>, ModelObject {
|
||||
* @since TODO
|
||||
*/
|
||||
public boolean isDeprecated() {
|
||||
UpdateSite.Plugin info = getInfo();
|
||||
return info != null && Arrays.asList(info.categories).contains("deprecated");
|
||||
return getInfo().isDeprecated();
|
||||
}
|
||||
|
||||
@ExportedBean
|
||||
|
||||
Reference in new issue
Block a user