feature/activate-audit-logging #27

Merged
bence merged 3 commits from feature/activate-audit-logging into master 2023-04-19 00:58:45 +02:00
Showing only changes of commit 656ce219ef - Show all commits

View File

@ -0,0 +1,15 @@
<?php namespace RVR\Database;
use SokoWeb\Database\AuditLoggerBase;
class AuditLogger extends AuditLoggerBase
{
protected function getModifierId()
{
$user = \Container::$request->user();
if ($user === null) {
return null;
}
return $user->getUniqueId();
}
}