diff --git a/html/includes/common/syslog.inc.php b/html/includes/common/syslog.inc.php index 7d3121e06..4e75fd38c 100644 --- a/html/includes/common/syslog.inc.php +++ b/html/includes/common/syslog.inc.php @@ -1,6 +1,15 @@ +$no_refresh = true; +$param = array(); +if ($vars['action'] == 'expunge' && $_SESSION['userlevel'] >= '10') { + dbQuery('TRUNCATE TABLE `syslog`'); + print_message('syslog truncated'); +} +$pagetitle[] = 'Syslog'; +?> + +
+ @@ -10,18 +19,84 @@ $common_output[] = '
Datetime
+
+ -';