Perform necessary actions before module is disabled.
The hook is called every time the module is disabled. It should be implemented in the module's .install file. The implementation can rely on the .module file being loaded.
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
function hook_disable() {
mymodule_cache_rebuild();
}