From 656ce219ef817c5d12d3f1d6a5f4d2e13b126b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Tue, 18 Apr 2023 23:31:58 +0200 Subject: [PATCH] add class AuditLogger --- src/Database/AuditLogger.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/Database/AuditLogger.php diff --git a/src/Database/AuditLogger.php b/src/Database/AuditLogger.php new file mode 100644 index 0000000..2e32009 --- /dev/null +++ b/src/Database/AuditLogger.php @@ -0,0 +1,15 @@ +user(); + if ($user === null) { + return null; + } + return $user->getUniqueId(); + } +}