Skip activity audit trail for hardcode user

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
ach8
User
Posts: 174

Skip activity audit trail for hardcode user

Post by ach8 »

How to skip activity audit trail for hardcode user?


mobhar
User
Posts: 11745

Post by mobhar »

You may customize "phpfn.php" template file, change this code (assume you choose audit trail to database):

if (EW_AUDIT_TRAIL_TO_DATABASE) {

to:

if (EW_AUDIT_TRAIL_TO_DATABASE && $usrwrk <> -1) {

In addition, read "Customizing Template" from PHPMaker Help menu for more information.


ach8
User
Posts: 174

Post by ach8 »

Thanks mobhar,

if (EW_AUDIT_TRAIL_TO_DATABASE && CurrentUserName() == "myuser")


Post Reply