function ctools_update_6003 in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 ctools.install \ctools_update_6003()
Take over for the panels_views module if it was on.
File
- ./
ctools.install, line 208 - Contains install and update functions for ctools.
Code
function ctools_update_6003() {
$result = db_query('SELECT status FROM {system} WHERE name = :name', array(
':name' => 'panels_views',
))
->fetchField();
if ($result) {
db_delete('system')
->condition('name', 'panels_views')
->execute();
module_enable(array(
'views_content',
), TRUE);
}
}