mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-09 10:06:13 +00:00
Remove ui-refresh-overrides.less and UI refresh toggle
This commit is contained in:
1 parent
09f203d1a6
commit
51e7142d57
5 files changed
+1
-126
No files matched your search
@@ -188,10 +188,6 @@ public class Functions {
|
||||
private static final AtomicLong iota = new AtomicLong();
|
||||
private static Logger LOGGER = Logger.getLogger(Functions.class.getName());
|
||||
|
||||
@Restricted(NoExternalUse.class)
|
||||
@SuppressFBWarnings(value = "MS_SHOULD_BE_FINAL", justification = "for script console")
|
||||
public static /* non-final */ boolean UI_REFRESH = SystemProperties.getBoolean("jenkins.ui.refresh");
|
||||
|
||||
public Functions() {
|
||||
}
|
||||
|
||||
@@ -520,16 +516,6 @@ public class Functions {
|
||||
return SystemProperties.getString(key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if and only if the UI refresh is enabled.
|
||||
*
|
||||
* @since 2.222
|
||||
*/
|
||||
@Restricted(DoNotUse.class)
|
||||
public static boolean isUiRefreshEnabled() {
|
||||
return UI_REFRESH;
|
||||
}
|
||||
|
||||
public static Map getEnvVars() {
|
||||
return new TreeMap<>(EnvVars.masterEnvVars);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user