mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-30 21:15:23 +00:00
expose unpinning to the web UI.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34045 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
21ad12ffc0
commit
db05699410
2 files changed
+22
No files matched your search
@@ -452,6 +452,10 @@ public class PluginWrapper implements Comparable<PluginWrapper> {
|
||||
public boolean hasUpdate() {
|
||||
return getUpdateInfo()!=null;
|
||||
}
|
||||
|
||||
public boolean isPinned() {
|
||||
return pinFile.exists();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sort by short name.
|
||||
|
||||
Reference in new issue
Block a user