remove unneeded code
This commit is contained in:
parent
198834294f
commit
ab129d094b
|
@ -50,7 +50,7 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
|
||||||
}
|
}
|
||||||
// restore original column array sorting
|
// restore original column array sorting
|
||||||
$headers = array();
|
$headers = array();
|
||||||
foreach ($keys as $i => $column) {
|
foreach ($keys as $column) {
|
||||||
if (isset($columns[$column])) {
|
if (isset($columns[$column])) {
|
||||||
$headers[$column] = $labels[$column];
|
$headers[$column] = $labels[$column];
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
|
||||||
$data = array();
|
$data = array();
|
||||||
if ($perfdata->isVisualizable()) {
|
if ($perfdata->isVisualizable()) {
|
||||||
$data []= $perfdata->asInlinePie($color)->render() . ' ';
|
$data []= $perfdata->asInlinePie($color)->render() . ' ';
|
||||||
} else if (isset($columns[''])) {
|
} elseif (isset($columns[''])) {
|
||||||
$data []= '';
|
$data []= '';
|
||||||
}
|
}
|
||||||
if (! $compact) {
|
if (! $compact) {
|
||||||
|
|
Loading…
Reference in New Issue