NOTICE: Our WHMCS Addons are discontinued and not supported anymore.
Most of the addons are now released for free in github - https://github.com/jetserver
You can download them from GitHub and conribute your changes ! :)
This hook simply clears the associated flagged admin when the ticket is closed.
The need for this hook came up when we started flagging tickets for a while, and wanted to search information in other old closed tickets. This is when all the flagged tickets came up first ! (which was disturbing in our point of view)