Skip to content

Commit 32bea87

Browse files
authored
refactor(core): Remove unused deprecated license methods (#15251)
1 parent e7c095d commit 32bea87

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/cli/src/license.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -409,21 +409,6 @@ export class License implements LicenseProvider {
409409
return this.getValue(LICENSE_QUOTAS.WORKFLOW_HISTORY_PRUNE_LIMIT) ?? UNLIMITED_LICENSE_QUOTA;
410410
}
411411

412-
/** @deprecated Use `LicenseState` instead. */
413-
getInsightsMaxHistory() {
414-
return this.getValue(LICENSE_QUOTAS.INSIGHTS_MAX_HISTORY_DAYS) ?? 7;
415-
}
416-
417-
/** @deprecated Use `LicenseState` instead. */
418-
getInsightsRetentionMaxAge() {
419-
return this.getValue(LICENSE_QUOTAS.INSIGHTS_RETENTION_MAX_AGE_DAYS) ?? 180;
420-
}
421-
422-
/** @deprecated Use `LicenseState` instead. */
423-
getInsightsRetentionPruneInterval() {
424-
return this.getValue(LICENSE_QUOTAS.INSIGHTS_RETENTION_PRUNE_INTERVAL_DAYS) ?? 24;
425-
}
426-
427412
/** @deprecated Use `LicenseState` instead. */
428413
getTeamProjectLimit() {
429414
return this.getValue(LICENSE_QUOTAS.TEAM_PROJECT_LIMIT) ?? 0;

0 commit comments

Comments
 (0)