diff options
Diffstat (limited to 'inc/eventlog.inc.php')
-rw-r--r-- | inc/eventlog.inc.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/eventlog.inc.php b/inc/eventlog.inc.php index 093840df..836b6974 100644 --- a/inc/eventlog.inc.php +++ b/inc/eventlog.inc.php @@ -30,4 +30,12 @@ class EventLog self::log('info', $message, $details); } + /** + * DELETE ENTIRE EVENT LOG! + */ + public static function clear() + { + Database::exec("TRUNCATE eventlog"); + } + } |