diff --git a/blueocean-web/src/main/java/io/jenkins/blueocean/BlueOceanUI.java b/blueocean-web/src/main/java/io/jenkins/blueocean/BlueOceanUI.java index 2cdc0e5f..c48e9988 100644 --- a/blueocean-web/src/main/java/io/jenkins/blueocean/BlueOceanUI.java +++ b/blueocean-web/src/main/java/io/jenkins/blueocean/BlueOceanUI.java @@ -1,8 +1,6 @@ package io.jenkins.blueocean; import hudson.ExtensionList; -import hudson.model.UsageStatistics; -import jenkins.model.Jenkins; /** * Root of Blue Ocean UI @@ -36,19 +34,4 @@ public class BlueOceanUI { public String getUrlBase() { return urlBase; } - - /** - * @return True if jenkins reports usage statistics. - */ - public boolean includeRollbar() { - return false; -// return Jenkins.getInstance().isUsageStatisticsCollected() && !UsageStatistics.DISABLED; - } - - /** - * @return Version on the plugin e.g 1.0-SNAPSHOT (private-f9a14d3e-jenkins) - */ - public String getPluginVersion() { - return Jenkins.getInstance().getPlugin("blueocean-web").getWrapper().getVersion(); - } } diff --git a/blueocean-web/src/main/js/DevelopmentFooter.jsx b/blueocean-web/src/main/js/DevelopmentFooter.jsx index 3e2e2913..179a15a9 100644 --- a/blueocean-web/src/main/js/DevelopmentFooter.jsx +++ b/blueocean-web/src/main/js/DevelopmentFooter.jsx @@ -6,12 +6,10 @@ import revisionInfo from '../../../target/classes/io/jenkins/blueocean/revisionI export class DevelopmentFooter extends Component { render() { if (!revisionInfo || !revisionInfo.name) { - var blueOceanVersion = document.getElementsByTagName('head')[0].getAttribute('data-blue-ocean-version'); - return ( -