Remove print as pdf in lead detail action, how to do that

i have edited the detailviewdefs.php in modules\Lead\metadata\detailviewdefs.php,
in that i cant able to remove

‘AOS_GENLET’ =>
array(
‘customCode’ => ‘’,
),

even though it is not getting removed

@shankar
Welcome to community!

Check the file - custom\modules\Lead\metadata\detailviewdefs.php .
This file is more priority.
Can I recommend to use custom directory for your changing.

@p.konetskiy
Thank you for your reply,

How can i remove cache files of lead module

@shankar
The command: Admin->Repair->Quick Repair and Rebuild
Look at documentation:

Thank You for your reply, its working