diff --git a/src/audit_log.php b/src/audit_log.php index 664aab00..d7141702 100644 --- a/src/audit_log.php +++ b/src/audit_log.php @@ -1,24 +1,24 @@ 'Edited news category #%d.', ]); +function audit_log_define(string $name): void +{ + define("MSZ_AUDIT_{$name}", $name); +} + function audit_log( string $action, int $userId = 0,