You are here

function hosting_site_exists in Hostmaster (Aegir) 6

Check if a site exists in a somehow wrong way

See also

hosting_domain_allowed()

1 call to hosting_site_exists()
hosting_task_migrate_form_validate in modules/hosting/migrate/hosting_migrate.module
Implementation of hook_validate().

File

modules/hosting/site/hosting_site.module, line 461

Code

function hosting_site_exists($url, $nid = null) {
  return !hosting_domain_allowed($url, array(
    'nid' => $nid,
  ));
}