function editablefields_update_6000 in Editable Fields 6.3
Update to the 6.x-3.x branch.
File
- ./
editablefields.install, line 75 - Provides installation related function to editablefields module.
Code
function editablefields_update_6000() {
$ret = array();
// Check the new dependency on Ctools.
if (!module_exists('ctools')) {
$ret['#abort'] = array(
'success' => FALSE,
'query' => 'Editablefields
6.x-3.x requires the Ctools module. No updates were run.',
);
return $ret;
}
$ret[] = array(
'success' => TRUE,
'query' => t('Installing schema.'),
);
// install schema
$schema_ret = drupal_install_schema('editablefields');
$ret = array_merge($ret, $schema_ret);
return $ret;
}