diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 29bcbd0f7d..09d29ac81e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2010-11-17 Raúl Mateos + + * include/functions_events.php: Deleted old code. Simplify. + 2010-11-17 Miguel de Dios * pandora_console.redhat.spec: re-enabled the check dir "data_in" in diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index e2a9af3650..06994f8933 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -286,11 +286,7 @@ function print_events_table ($filter = "", $limit = 10, $width = 440, $return = $result = get_db_all_rows_sql ($sql); if ($result === false) { - $return = '
'.__('No events').'
'; -# if ($return === false) { -# echo $return; -# } - echo $return; + echo '
'.__('No events').'
'; } else { $table->cellpadding = 4; $table->cellspacing = 4;