AnsweredAssumed Answered

How do you properly override a Link.php class?

Question asked by Artis Plocins on May 24, 2018

I need to remove the UNION clause from the SQL query generated by the method joinEmails() in ArchivedEmailsLink.php, but simply creating custom/modules/Email/ArchivedEmailsLink.php does nothing.

 

What is the best way to override a basic module component file like this to change the way a stock module works without creating an entirely new module and replacing it everywhere?

 

I am trying to do this in Sugar 8, if that changes anything.

Outcomes