bootstrapDrupalDatabaseHasTable('blocked_ips'); } public function bootstrapDrupalDatabase() { drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE); parent::bootstrapDrupalDatabase(); } public function bootstrapDrupalConfiguration() { drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION); // Unset drupal error handler and restore drush's one. restore_error_handler(); parent::bootstrapDrupalConfiguration(); } public function bootstrapDrupalFull() { 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::bootstrapDrupalFull(); } }