Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore)
The only things that are different are the obvious call of different methods (enable and enable_report vs disable and disable_report) and some flips on boolean values. Since the code is almost the same, we could try to refactor it somehow into a common method that can be used by both of them.
Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore)
The only things that are different are the obvious call of different methods (enable and enable_report vs disable and disable_report) and some flips on boolean values. Since the code is almost the same, we could try to refactor it somehow into a common method that can be used by both of them.