mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
refactor(core): Remove unused deprecated license methods (#15251)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user