From d89c17120d1295c6dda7d9eb8c9013ffc57b0c0f Mon Sep 17 00:00:00 2001 From: Michael Seevogel <git@michaelseevogel.de> Date: Mon, 24 Feb 2025 19:12:53 +0100 Subject: [PATCH] Removed unused version code in shelluser_base --- server/plugins-available/shelluser_base_plugin.inc.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/server/plugins-available/shelluser_base_plugin.inc.php b/server/plugins-available/shelluser_base_plugin.inc.php index 393e6f0eac..0593b475b8 100755 --- a/server/plugins-available/shelluser_base_plugin.inc.php +++ b/server/plugins-available/shelluser_base_plugin.inc.php @@ -625,12 +625,6 @@ fi $used_os_type = 'unknown'; } - if (isset($os_type['version'])) { - $os_version = $os_type['version']; - } else { - $os_version = 'unknown'; - } - if($used_os_type == "debian" || $used_os_type == "ubuntu") { $tpl->newTemplate("bashrc_user_deb.master"); } elseif($used_os_type == "redhat") { -- GitLab