X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrush%2Fdrush%2Flib%2FDrush%2FBoot%2FDrupalBoot7.php;fp=vendor%2Fdrush%2Fdrush%2Flib%2FDrush%2FBoot%2FDrupalBoot7.php;h=0000000000000000000000000000000000000000;hp=30e55a5b3517219aba4cfcde38c75d742cc74d6c;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/drush/drush/lib/Drush/Boot/DrupalBoot7.php b/vendor/drush/drush/lib/Drush/Boot/DrupalBoot7.php deleted file mode 100644 index 30e55a5b3..000000000 --- a/vendor/drush/drush/lib/Drush/Boot/DrupalBoot7.php +++ /dev/null @@ -1,98 +0,0 @@ -conf_path() . '/modules', - 'sites/all/modules', - ); - } - - function contrib_themes_paths() { - return array( - $this->conf_path() . '/themes', - 'sites/all/themes', - ); - } - - function bootstrap_drupal_core($drupal_root) { - define('DRUPAL_ROOT', $drupal_root); - require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; - $core = DRUPAL_ROOT; - - return $core; - } - - function bootstrap_drupal_database_validate() { - return parent::bootstrap_drupal_database_validate() && $this->bootstrap_drupal_database_has_table('blocked_ips'); - } - - function bootstrap_drupal_database() { - drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE); - parent::bootstrap_drupal_database(); - } - - function bootstrap_drupal_configuration() { - drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION); - - // Unset drupal error handler and restore drush's one. - restore_error_handler(); - - parent::bootstrap_drupal_configuration(); - } - - function bootstrap_drupal_full() { - if (!drush_get_context('DRUSH_QUIET', FALSE)) { - ob_start(); - } - drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); - if (!drush_get_context('DRUSH_QUIET', FALSE)) { - ob_end_clean(); - } - - parent::bootstrap_drupal_full(); - } -}