BeforeDeactivate
From LimeSurvey Manual
When
This event is fired just before plugin is deactivated.
Input
None
Possible output
- success as boolean, if false : plugin is not deactivated. Default is true
- message as string : the message to display to user. Default is 'Failed to deactivate the plugin.'