mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-09-19 19:31:17 +00:00
Cleanup provider disconnect status msgs
This commit is contained in:
parent
63f2c38f4c
commit
601f587cb0
|
@ -72,6 +72,7 @@ function DisplayProviderConfig()
|
||||||
$return = stripArtifacts($return);
|
$return = stripArtifacts($return);
|
||||||
foreach ($return as $line) {
|
foreach ($return as $line) {
|
||||||
if (strlen(trim($line)) > 0) {
|
if (strlen(trim($line)) > 0) {
|
||||||
|
$line = preg_replace('/\[1;33;49m(.*)\[0m/', '$1', $line);
|
||||||
$status->addMessage($line, 'info');
|
$status->addMessage($line, 'info');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue