19 lines
395 B
PHP
19 lines
395 B
PHP
<?php namespace RVR\Database;
|
|
|
|
use SokoWeb\Database\AuditLoggerBase;
|
|
|
|
class AuditLogger extends AuditLoggerBase
|
|
{
|
|
protected function getModifierId()
|
|
{
|
|
if (\Container::$request === null) {
|
|
return null;
|
|
}
|
|
$user = \Container::$request->user();
|
|
if ($user === null) {
|
|
return null;
|
|
}
|
|
return $user->getUniqueId();
|
|
}
|
|
}
|