You are here

function hosting_site_load in Hostmaster (Aegir) 6

Implementation of hook_load().

Parameters

node: Node object

File

modules/hosting/site/hosting_site.nodeapi.inc, line 195
Site nodeapi implementations.

Code

function hosting_site_load($node) {
  $additions = db_fetch_object(db_query('SELECT  client, db_server, platform, profile, language as site_language, last_cron, cron_key, status AS site_status, verified FROM {hosting_site} WHERE vid = %d', $node->vid));
  $additions->ip_addresses = hosting_ip_load($node);
  return $additions;
}