From e885af3dfde2c844fed6d77bf7b015a3f487a8e7 Mon Sep 17 00:00:00 2001 From: bergware Date: Sun, 13 Nov 2022 09:45:39 +0100 Subject: [PATCH] Fix shares information in Diagnostics --- plugins/dynamix/scripts/diagnostics | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/dynamix/scripts/diagnostics b/plugins/dynamix/scripts/diagnostics index d80398f40..b91f07b4a 100755 --- a/plugins/dynamix/scripts/diagnostics +++ b/plugins/dynamix/scripts/diagnostics @@ -54,7 +54,6 @@ function anonymize($text,$select) { case 1: // remove any stray references to the GUID that may wind up in .ini files (notably Unassigned Devices) $text = str_replace(end(explode("-",$unraid_vars['regGUID'])),"...",$text); - $rows = explode("\n", $text); $pool = implode('|',$pools) ?: 'cache'; $regex = "/\b((disk|$pool|parity|cpu|eth|dev)[0-9]+)|(smart|flash|flashbackup|$pool|parity|cpu{$customShares})\b/";