function ctools_update_6003 in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 ctools.install \ctools_update_6003()
Take over for the panels_views module if it was on.
File
- ./
ctools.install, line 188 - Contains install and update functions for ctools.
Code
function ctools_update_6003() {
$ret = array();
$result = db_result(db_query("SELECT status FROM {system} WHERE name = 'panels_views'"));
if ($result) {
$ret[] = update_sql("DELETE from {system} WHERE name = 'panels_views'");
drupal_install_modules(array(
'views_content',
));
}
return $ret;
}