Issue #2986294 by dagmar, pritish.kumar, zuhair_ak, catch, alexpott: Remove $context['user'] from LoggerChannel::log

8.7.x
Nathaniel Catchpole 2018-09-11 10:43:00 +01:00
parent e4b39ba7b9
commit bc043fd01d
1 changed files with 0 additions and 2 deletions

View File

@ -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();
}
}