Commit bc043fd0 authored by catch's avatar catch
Browse files

Issue #2986294 by dagmar, pritish.kumar, zuhair_ak, catch, alexpott: Remove...

Issue #2986294 by dagmar, pritish.kumar, zuhair_ak, catch, alexpott: Remove $context['user'] from LoggerChannel::log
parent e4b39ba7
......@@ -101,7 +101,6 @@ public function log($level, $message, array $context = []) {
$context += [
'channel' => $this->channel,
'link' => '',
'user' => NULL,
'uid' => 0,
'request_uri' => '',
'referer' => '',
......@@ -115,7 +114,6 @@ public function log($level, $message, array $context = []) {
$context['ip'] = $request->getClientIP();
try {
if ($this->currentUser) {
$context['user'] = $this->currentUser;
$context['uid'] = $this->currentUser->id();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment