diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 13cab23584..f434951310 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-06-19 Vanessa Gil + + * godmode/db/db_audit.php: Fixed bug:don't display any + message to confirm the action. + 2012-06-19 Vanessa Gil * godmode/db/db_sanity.php: Fixed bug: to sanitise diff --git a/pandora_console/godmode/db/db_audit.php b/pandora_console/godmode/db/db_audit.php index 8fda0b21b0..d184e99ee2 100644 --- a/pandora_console/godmode/db/db_audit.php +++ b/pandora_console/godmode/db/db_audit.php @@ -65,6 +65,11 @@ if (isset($_POST["purgedb"])){ # Fixed 2005-1-13, nil $from_date = get_parameter_post("date_purge"); $deleted = db_process_sql_delete('tsesion', array('utimestamp' => '< ' . $from_date)); + + if ($deleted) + ui_print_success_message(__('Success data deleted')); + else + ui_print_error_message(__('Error deleting data')); } # End of get parameters block