- number:event = See SystemData.Events
- string:callback = The function which should not be called anymore by this event
This will unregister a specific eventhandler.
Sometimes your addon doesn't need an event to be register all the time. If an function should not be called anymore by a specific event, you can unregister that eventhandler with this function.
See also: RegisterEventHandler()