A callback triggered before component is disabled.
~~~
<?php
function my_component_init(){
ossn_register_callback('component', 'before:disable', 'my_component_cb');
}
function my_component_cb($callback, $type, $params){
//$params['component'] component ID.
}
~~~
Components before disabled