From 6298d32ec1c9616f50f1537a7062d0e07b22f2b7 Mon Sep 17 00:00:00 2001
From: Thijs Kinkhorst <thijs@kinkhorst.com>
Date: Wed, 25 May 2022 20:27:37 +0200
Subject: [PATCH] Radius module no longer needs PHP radius extension

---
 composer.json                           | 1 -
 modules/admin/lib/Controller/Config.php | 7 -------
 2 files changed, 8 deletions(-)

diff --git a/composer.json b/composer.json
index 07cd9ceff..52f019a5e 100644
--- a/composer.json
+++ b/composer.json
@@ -88,7 +88,6 @@
         "predis/predis": "Needed if a Redis server is used to store session information",
         "ext-curl": "Needed in order to check for updates automatically",
         "ext-ldap": "Needed if an LDAP backend is used",
-        "ext-radius": "Needed if a Radius backend is used",
         "ext-memcache": "Needed if a Memcache server is used to store session information",
         "ext-pdo": "Needed if a database backend is used, either for authentication or to store session information",
         "ext-mysql": "Needed if a MySQL backend is used, either for authentication or to store session information",
diff --git a/modules/admin/lib/Controller/Config.php b/modules/admin/lib/Controller/Config.php
index 8d30a2d2b..80628775d 100644
--- a/modules/admin/lib/Controller/Config.php
+++ b/modules/admin/lib/Controller/Config.php
@@ -299,13 +299,6 @@ class Config
                     'required' => Translate::noop('LDAP extension'),
                 ]
             ],
-            'radius_auth_open' => [
-                'required' => Module::isModuleEnabled('radius') ? 'required' : 'optional',
-                'descr' => [
-                    'optional' => Translate::noop('Radius extension (required if a radius backend is used)'),
-                    'required' => Translate::noop('Radius extension'),
-                ]
-            ],
         ];
 
         foreach ($functions as $function => $description) {
-- 
GitLab