summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-01-12 13:54:25 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-01-12 14:32:59 +0100
commit46be652862062d69ff067af1f536b8e1dbbbb4c2 (patch)
treee34b1e2670359928f01c0d970ce0feb91ab2c42e /admin/WebConsole
parent55e32e9cc08972ac64a745a6c7bee9a181be3c47 (diff)
#1008 Remove unused variable
Apache reports: [Tue Dec 22 12:07:01.664403 2020] [proxy_fcgi:error] [pid 1386] [client 10.1.12.17:46950] AH01071: Got error 'PHP message: PHP Notice: Undefined variable: cadenaid in /opt/opengnsys/www/comandos/Configurar.php on line 158\nPHP message: PHP Notice: Undefined variable: mindisks in /opt/opengnsys/www/comandos/Configurar.php on line 201\n'
Diffstat (limited to 'admin/WebConsole')
-rw-r--r--admin/WebConsole/comandos/Configurar.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/admin/WebConsole/comandos/Configurar.php b/admin/WebConsole/comandos/Configurar.php
index cefc7990..25255f6f 100644
--- a/admin/WebConsole/comandos/Configurar.php
+++ b/admin/WebConsole/comandos/Configurar.php
@@ -198,8 +198,6 @@ function HTMLSELECT_disks($configs, $default_numdisk)
foreach($configs as $config){
$diskConfigs = splitConfigurationsByDisk($config);
$numdisks = count($diskConfigs);
- if ( $mindisks > $numdisks )
- $mindisks = $numdisks;
}
$options="";