Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-46164] Removed deprecated feature, it is enabled as a global…
… settings (#31)
  • Loading branch information
v1v committed Aug 13, 2017
1 parent 7eaac06 commit d45b1be
Showing 1 changed file with 1 addition and 8 deletions.
Expand Up @@ -21,14 +21,7 @@ public final class JobLintAction extends AbstractAction implements Action {
private Job job;

public static boolean isDisabled () {
// DEPRECATED: Release 0.11.0
if (Boolean.getBoolean(JobLintAction.class.getName() + ".disabled")) {
LOG.warning("This system property is deprecated and it will be removed in the release 0.11.0. " +
"We encourage to use the Global Settings properties.");
return true;
} else {
return !JenkinsLintGlobalConfiguration.get().isJobActionEnabled();
}
return !JenkinsLintGlobalConfiguration.get().isJobActionEnabled();
}

public JobLintAction(AbstractProject<?, ?> project) {
Expand Down

0 comments on commit d45b1be

Please sign in to comment.