function css_gzip_uninstall in CSS Gzip 6
Implementation of hook_uninstall().
File
- ./
css_gzip.install, line 18
Code
function css_gzip_uninstall() {
// Del htaccess file
$htaccess = file_directory_path() . '/css/.htaccess';
if (file_exists($htaccess)) {
file_delete($htaccess);
}
// Del Variables
db_query("DELETE FROM {variable} WHERE name LIKE '%s_%%'", 'css_gzip');
cache_clear_all('variables', 'cache');
}