You are here

function search_files_attachments_update_6201 in Search Files 7.2

Same name and namespace in other branches
  1. 6.2 search_files_attachments.install \search_files_attachments_update_6201()

File

./search_files_attachments.install, line 34
Installation and update procedures for the search_attachments module.

Code

function search_files_attachments_update_6201() {
  $ret = array();
  $ret = update_sql("UPDATE {search_dataset} SET type = 'search_files_att' WHERE type = 'attachment'");
  $ret = update_sql("UPDATE {search_index} SET type = 'search_files_att' WHERE type = 'attachment'");
  return $ret;
}