Issue #2986294 by dagmar, pritish.kumar, zuhair_ak, catch, alexpott: Remove $context['user'] from LoggerChannel::log
parent
e4b39ba7b9
commit
bc043fd01d
|
@ -101,7 +101,6 @@ class LoggerChannel implements LoggerChannelInterface {
|
|||
$context += [
|
||||
'channel' => $this->channel,
|
||||
'link' => '',
|
||||
'user' => NULL,
|
||||
'uid' => 0,
|
||||
'request_uri' => '',
|
||||
'referer' => '',
|
||||
|
@ -115,7 +114,6 @@ class LoggerChannel implements LoggerChannelInterface {
|
|||
$context['ip'] = $request->getClientIP();
|
||||
try {
|
||||
if ($this->currentUser) {
|
||||
$context['user'] = $this->currentUser;
|
||||
$context['uid'] = $this->currentUser->id();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue