function coder_review_update_3 in Coder 7
Remove deprecated coder_review variables from the 'variable' table.
File
- coder_review/
coder_review.install, line 59 - Install, update and uninstall functions for the coder_review module.
Code
function coder_review_update_3() {
$ret = array();
$ret[] = update_sql("DELETE FROM {variable} WHERE name LIKE 'coder_modules-%' OR name LIKE 'coder_themes-%'");
cache_clear_all('variables', 'cache');
return $ret;
}