Skip to content

Commit

Permalink
chore(issues): Remove old feature check
Browse files Browse the repository at this point in the history
These were converted over to Flagpole in:
getsentry/sentry-options-automator#2457
  • Loading branch information
mrduncan committed Oct 8, 2024
1 parent 6468365 commit 81f5364
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sentry/api/endpoints/project_ownership.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ def get_max_length(self):
organization = self.context["ownership"].project.organization
if features.has("organizations:ownership-size-limit-xlarge", organization):
return XLARGE_MAX_RAW_LENGTH
if features.has("organizations:ownership-size-limit-large", organization) or features.has(
"organizations:higher-ownership-limit", organization
):
if features.has("organizations:ownership-size-limit-large", organization):
return LARGE_MAX_RAW_LENGTH
return DEFAULT_MAX_RAW_LENGTH

Expand Down

0 comments on commit 81f5364

Please sign in to comment.