function mobile_tools_cache_enable in Mobile Tools 7.3
Implements hook_enable().
File
- mobile_tools_cache/
mobile_tools_cache.install, line 6
Code
function mobile_tools_cache_enable() {
// Save the original cache value
variable_set('mobile_tools_cache_original', variable_get('cache_default_class'));
// Set the default cache location to the Mobile Tools Cache
variable_set('cache_default_class', 'MobileToolsDatabaseCache');
}