mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Closes #5399 User audit navigation logging option.
This commit is contained in:
@@ -1118,6 +1118,13 @@ else
|
||||
define('e_REFERER_SELF', false);
|
||||
}
|
||||
|
||||
if(deftrue('USER'))
|
||||
{
|
||||
if (check_class(varset($pref['user_audit_class']))) // Need to note in user audit trail
|
||||
{
|
||||
e107::getLog()->user_audit(USER_AUDIT_NAVIGATION, e_REQUEST_URI, USERID, USERNAME);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use e107::getRedirect()->go($url) instead.
|
||||
|
Reference in New Issue
Block a user