Commit b87d372f authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

Some small fixes to hosting_dns

parent 24520f12
......@@ -152,7 +152,7 @@ function provision_dns_zone($op, $args) {
# implode("','", $v));
# db_query($sql);
# $zone = provision_dns_status('zone', array('domain' => $args['origin']));
}
# }
# This should call the engine..
# module_invoke_all("provision_dns_zone", $op, $zone);
if ($dns) { # Add a default A record for the origin
......
......@@ -62,7 +62,7 @@ function provision_invoke($hook, &$data, $arg1 = NULL, $arg2 = NULL, $arg3 = NUL
//this is run before and after so that messages appear in the correct order.
_drush_log_drupal_messages();
if (drush_get_error()) {
drush_log(pt('An error occurred at function : @func', array('@func' => $func)), 'error');
drush_log(dt('An error occurred at function : @func', array('@func' => $func)), 'error');
# As soon as an error occurs, roll back
$rollback = TRUE;
break;
......
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