function customfilter_update_6119 in Custom filter 7.2
Same name and namespace in other branches
- 6 customfilter.install \customfilter_update_6119()
- 7 customfilter.install \customfilter_update_6119()
Implements hook_update_N().
File
- ./
customfilter.install, line 559 - Installation file for Custom filter.
Code
function customfilter_update_6119() {
$ret = array();
variable_del('customfilter_update_6111');
variable_del('customfilter_update_6113');
variable_del('customfilter_update_6115');
variable_del('customfilter_update_6116');
variable_del('customfilter_update_6117');
variable_del('customfilter_update_6118');
variable_set('customfilter_update', 6119);
$ret[] = array(
'success' => TRUE,
'query' => 'Removed unused variables',
);
// hook_update_N() no longer returns a $ret array. Instead, return
// nothing or a translated string indicating the update ran successfully.
// See http://drupal.org/node/224333#update_sql.
return t('TODO Add a descriptive string here to show in the UI.');
}