hook_disable()
Perform necessary actions before module is disabled.
The hook is called every time the module is disabled.
hook_uninstall()
hook_modules_disabled()
drupal/modules/system/system.api.php, line 3285
<?php function hook_disable() { mymodule_cache_rebuild(); } ?>