Skip to content

Commit c87b435

Browse files
committed
[chores] Removed old backward compatibility with django-freeradius
1 parent 5f2da45 commit c87b435

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

openwisp_radius/settings.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616

1717

1818
def get_settings_value(option, default):
19-
if hasattr(settings, f"DJANGO_FREERADIUS_{option}"): # pragma: no cover
20-
logger.warning(
21-
f"DJANGO_FREERADIUS_{option} setting is deprecated. It will be "
22-
f"removed in the future, please use OPENWISP_RADIUS_{option} instead."
23-
)
24-
return getattr(settings, f"DJANGO_FREERADIUS_{option}")
2519
return getattr(settings, f"OPENWISP_RADIUS_{option}", default)
2620

2721

0 commit comments

Comments
 (0)