1
0
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:
camer0n
2025-01-18 11:49:01 -08:00
parent cd30dfdc0d
commit c90fd538f2
5 changed files with 13 additions and 3 deletions

View File

@@ -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.