Révision c9e51f47
Ajouté par Julien Enselme il y a environ 7 ans
drupal7/modules/dblog/dblog.admin.inc | ||
---|---|---|
420 | 420 |
*/ |
421 | 421 |
function dblog_clear_log_submit() { |
422 | 422 |
$_SESSION['dblog_overview_filter'] = array(); |
423 |
db_delete('watchdog')->execute();
|
|
423 |
db_truncate('watchdog')->execute();
|
|
424 | 424 |
drupal_set_message(t('Database log cleared.')); |
425 | 425 |
} |
Formats disponibles : Unified diff
Udpate to 7.54