2012-06-19 Vanessa Gil <vanessa.gil@artica.es>
* godmode/db/db_audit.php: Fixed bug:don't display any message to confirm the action. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
bf82105529
commit
375cf62362
|
@ -1,3 +1,8 @@
|
|||
2012-06-19 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* godmode/db/db_audit.php: Fixed bug:don't display any
|
||||
message to confirm the action.
|
||||
|
||||
2012-06-19 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* godmode/db/db_sanity.php: Fixed bug: to sanitise
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue