Commit 2c19defb authored by Adrian Rossouw's avatar Adrian Rossouw

Update the node revisions table too.

parent 0e2486ac
...@@ -244,6 +244,7 @@ function hosting_update_6008() { ...@@ -244,6 +244,7 @@ function hosting_update_6008() {
$server_id = variable_get('hosting_own_web_server', 2); $server_id = variable_get('hosting_own_web_server', 2);
db_query("UPDATE {node} SET title='localhost' WHERE nid=%d", $server_id); db_query("UPDATE {node} SET title='localhost' WHERE nid=%d", $server_id);
db_query("UPDATE {node_revisions} SET title='localhost' WHERE nid=%d", $server_id);
$records[$server_id] = 'server_localhost'; $records[$server_id] = 'server_localhost';
......
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