Commit 7da35226 authored by anarcat's avatar anarcat

disable removal of old IPs while we test this, maybe we want to keep that data on upgrades

parent b52f6234
......@@ -306,9 +306,13 @@ function hosting_server_update_6202() {
*
* Those are now associated only to servers again, and different modules
* should manage their own mappings.
*
* @todo enable this in 3.x? or maybe after the RC cycle of 2.x? we keep the
* data right now because the above request is quite error-prone and we are
* not sure we cover all cases.
*/
function hosting_server_update_6202() {
$ret = array();
$ret[] = update_sql("DELETE {hosting_ip_addresses} FROM {hosting_ip_addresses} JOIN {node} ON hosting_ip_addresses.nid = node.nid WHERE node.type <> 'server';");
return $ret;
}
\ No newline at end of file
/* function hosting_server_update_6203() { */
/* $ret = array(); */
/* $ret[] = update_sql("DELETE {hosting_ip_addresses} FROM {hosting_ip_addresses} JOIN {node} ON hosting_ip_addresses.nid = node.nid WHERE node.type <> 'server';"); */
/* 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