This commit is contained in:
Squidly271
2022-01-25 09:54:49 -05:00
committed by GitHub
parent 007d3918fe
commit 18e11c7225
+2 -2
View File
@@ -53,8 +53,8 @@ function anonymize($text,$select) {
if ($all) return $text;
switch ($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);
// 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);
$regex = "/\b((disk|cache|parity|cpu|eth|dev)[0-9]+)|(smart|flash|flashbackup|cache|parity|cpu$customShares)\b/";