Commit 13723025 authored by KarenS's avatar KarenS

Add drop table and clear cache to install after moving files from...

Add drop table and clear cache to install after moving files from node_type_content table to core node_type table
parent e30b4a0a
......@@ -251,6 +251,9 @@ function content_update_9() {
(type, name, module, description, help, has_title, title_label, has_body, body_label, custom, orig_type)
VALUES ('$data->type_name', '$data->label', 'node', '$data->description', '$data->help', 1, '$data->title_label', 0, '', 1, '$data->type_name')");
}
$ret[] = update_sql("DROP TABLE {node_type_content}");
$ret[] = update_sql('DELETE FROM {cache}');
return $ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment