Skip to content
Snippets Groups Projects
Commit c1763702 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Patch #598586 by tim.plunkett: updated documentation.

parent 98858def
No related branches found
No related tags found
No related merge requests found
......@@ -1947,6 +1947,7 @@ function hook_xmlrpc_alter(&$methods) {
* - type: The type of message for this entry.
* - user: The user object for the user who was logged in when the event
* happened.
* - uid: The user ID for the user who was logged in when the event happened.
* - request_uri: The request URI for the page the event happened in.
* - referer: The page that referred the user to the page where the event
* occurred.
......@@ -2013,7 +2014,7 @@ function hook_watchdog(array $log_entry) {
'@ip' => $log_entry['ip'],
'@request_uri' => $log_entry['request_uri'],
'@referer_uri' => $log_entry['referer'],
'@uid' => $log_entry['user']->uid,
'@uid' => $log_entry['uid'],
'@name' => $log_entry['user']->name,
'@link' => strip_tags($log_entry['link']),
'@message' => strip_tags($log_entry['message']),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment