refactor(core): Remove unused deprecated license methods (#15251)

This commit is contained in:
Iván Ovejero
2025-05-12 13:52:35 +02:00
committed by GitHub
parent e7c095d047
commit 32bea87fa2

View File

@@ -409,21 +409,6 @@ export class License implements LicenseProvider {
return this.getValue(LICENSE_QUOTAS.WORKFLOW_HISTORY_PRUNE_LIMIT) ?? UNLIMITED_LICENSE_QUOTA;
}
/** @deprecated Use `LicenseState` instead. */
getInsightsMaxHistory() {
return this.getValue(LICENSE_QUOTAS.INSIGHTS_MAX_HISTORY_DAYS) ?? 7;
}
/** @deprecated Use `LicenseState` instead. */
getInsightsRetentionMaxAge() {
return this.getValue(LICENSE_QUOTAS.INSIGHTS_RETENTION_MAX_AGE_DAYS) ?? 180;
}
/** @deprecated Use `LicenseState` instead. */
getInsightsRetentionPruneInterval() {
return this.getValue(LICENSE_QUOTAS.INSIGHTS_RETENTION_PRUNE_INTERVAL_DAYS) ?? 24;
}
/** @deprecated Use `LicenseState` instead. */
getTeamProjectLimit() {
return this.getValue(LICENSE_QUOTAS.TEAM_PROJECT_LIMIT) ?? 0;