Created
February 3, 2015 14:53
-
-
Save amitaibu/1d5aaa135da63f97a1ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_watchdog(). | |
*/ | |
function hook_user_watchdog(array $log_entry) { | |
if ($log_entry['message'] != 'Session opened for %name.') { | |
return; | |
} | |
logs_http_register_event($log_entry); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment