function search_files_db_rename_column_ifexists in Search Files 6.2
Same name and namespace in other branches
- 7.2 search_files.install \search_files_db_rename_column_ifexists()
2 calls to search_files_db_rename_column_ifexists()
File
- ./
search_files.install, line 89 - Installation and update procedures for the search_files module.
Code
function search_files_db_rename_column_ifexists(&$ret, $table, $column, $new_name, $spec) {
if (db_table_exists($table)) {
if (db_column_exists($table, $column)) {
db_change_field($ret, $table, $column, $new_name, $spec);
}
}
}