function _drush_sitelist_check_site_records

8.0.x sitealias.inc _drush_sitelist_check_site_records($source, $target)
6.x sitealias.inc _drush_sitelist_check_site_records($source, $target)
7.x sitealias.inc _drush_sitelist_check_site_records($source, $target)
3.x sitealias.inc _drush_sitelist_check_site_records($source, $target)
4.x sitealias.inc _drush_sitelist_check_site_records($source, $target)
5.x sitealias.inc _drush_sitelist_check_site_records($source, $target)
master sitealias.inc _drush_sitelist_check_site_records($source, $target)
1 call to _drush_sitelist_check_site_records()

File

includes/sitealias.inc, line 1184
The site alias API.

Code

function _drush_sitelist_check_site_records($source, $target) {
  if ((array_key_exists('uri', $source)) && (array_key_exists('uri', $target)) && ($source['uri'] == $target['uri'])) {
    return TRUE;
  }
  return FALSE;
}