16 lines
315 B
PHP
16 lines
315 B
PHP
|
<?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();
|
||
|
}
|
||
|
}
|