Skip to content

Commit b58e282

Browse files
committed
swap
1 parent 8e339c0 commit b58e282

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

readthedocs/organizations/views/private.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -274,16 +274,16 @@ def get_queryset(self):
274274
)
275275
return self.filter.qs
276276

277-
def _is_enabled(self, organization):
278-
return PlanFeature.objects.has_feature(
279-
organization,
280-
type=self.feature_type,
281-
)
282-
283277
def _get_retention_days_limit(self, organization):
284278
"""From how many days we need to show data for this organization?"""
285279
return PlanFeature.objects.get_feature_value(
286280
organization,
287281
type=self.feature_type,
288282
default=settings.RTD_AUDITLOGS_DEFAULT_RETENTION_DAYS,
289283
)
284+
285+
def _is_enabled(self, organization):
286+
return PlanFeature.objects.has_feature(
287+
organization,
288+
type=self.feature_type,
289+
)

0 commit comments

Comments
 (0)