CC-3797: Feedback Metrics "Show Me What I Am Sending" doesnt show all of the fields that are being sent
-fixed
This commit is contained in:
parent
71c279a2f9
commit
8ff30cf5a1
1 changed files with 8 additions and 2 deletions
|
@ -397,7 +397,7 @@ class Application_Model_Preference
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function GetSystemInfo($returnArray=false, $p_testing)
|
public static function GetSystemInfo($returnArray=false, $p_testing=false)
|
||||||
{
|
{
|
||||||
exec('/usr/bin/airtime-check-system --no-color', $output);
|
exec('/usr/bin/airtime-check-system --no-color', $output);
|
||||||
|
|
||||||
|
@ -464,7 +464,7 @@ class Application_Model_Preference
|
||||||
if($key == 'SAAS' && ($out != '' || $out != 'disabled')){
|
if($key == 'SAAS' && ($out != '' || $out != 'disabled')){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if($out != ''){
|
if($out != '' || is_numeric($out)){
|
||||||
if($key == "STREAM_INFO"){
|
if($key == "STREAM_INFO"){
|
||||||
$outputString .= $key." :\n";
|
$outputString .= $key." :\n";
|
||||||
foreach($out as $s_info){
|
foreach($out as $s_info){
|
||||||
|
@ -472,6 +472,12 @@ class Application_Model_Preference
|
||||||
$outputString .= "\t".strtoupper($k)." : ".$v."\n";
|
$outputString .= "\t".strtoupper($k)." : ".$v."\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}else if ($key == "SOUNDCLOUD_ENABLED") {
|
||||||
|
if ($out) {
|
||||||
|
$outputString .= $key." : TRUE\n";
|
||||||
|
} else if (!$out) {
|
||||||
|
$outputString .= $key." : FALSE\n";
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
$outputString .= $key.' : '.$out."\n";
|
$outputString .= $key.' : '.$out."\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue