You are here

function search_files_attachments_update_6201 in Search Files 6.2

Same name and namespace in other branches
  1. 7.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();
  db_query("UPDATE search_dataset SET type = 'search_files_att' WHERE type = 'attachment'");
  db_query("UPDATE search_index SET type = 'search_files_att' WHERE type = 'attachment'");
  return $ret;
}