You are here

function _deploy_get_servers in Deploy - Content Staging 5

return an assoc array of servers of format sid => description

1 call to _deploy_get_servers()
deploy_pushform in ./deploy.module

File

./deploy.module, line 674

Code

function _deploy_get_servers() {
  $result = db_query("select * from {deploy_servers} order by description");
  $servers = array();
  while ($server = db_fetch_array($result)) {
    $servers[$server['sid']] = $server['description'];
  }
  return $servers;
}