AnsweredAssumed Answered

How can I extend a core module class?

Question asked by danielw on Mar 1, 2016

Specifically, I want to extend/change modules/Audit/Audit.php such that the query in the 'getAuditLog()' method is modified to retrieve the user first_name and last_name, rather than their user_name.

 

I could create my own class that extends the Audit class, and overrides the getAuditLog() method, but:
where should I put my custom class in order to have Sugar use it instead of the core Audit class?

 

(On Sugar 7.6)

 

Cheers,

 

Daniel.

Outcomes