function drush_sitealias_site_clear

7.x drush_sitealias_site_clear()
master drush_sitealias_site_clear()

Un-set the currently use'd site alias.

1 call to drush_sitealias_site_clear()
drush_preflight in includes/
During the initialization of Drush, this is the first step where we load our configuration and commandfiles, and select the site we are going to operate on; however, we take no irreversible actions (e.g. site bootstrapping). This allows commands that…


includes/, line 2167
The site alias API.


function drush_sitealias_site_clear() {
  if ($filename = drush_sitealias_get_envar_filename()) {
    return drush_delete_dir($filename);
  return FALSE;