Commit ef4ca95f authored by drumm's avatar drumm Committed by Neil Drumm

The db service determines what hostnames it sees, and the rest of the message is not interesting.

parent dbf69854
......@@ -244,7 +244,6 @@ function hosting_nodeapi_server_presave(&$node) {
// setup IP only if resolution succeeded
if ($ip != $node->title) {
$node->services['server']->ip_address = $ip; // required to fool the ip check below
drupal_set_message(t('Initialized the IP to %ip based on hostname %name. This will be used to create database grants so make sure it is the right address, as seen from the database server.', array('%ip' => $ip, '%name' => $node->title)), 'message');
else {
form_set_error('title', t('Could not resolve IP address of %name. Either set the server name to a FQDN (Fully Qualified Domain Name) or hardcode the IP here.', array('%name' => $node->title)));
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