diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 31cce8154e3ebbb754215136cf76ec3f3a604c65..7f8b3da843ae2dda691d6cee39a1fe484d4421c1 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -1161,18 +1161,6 @@ function drupal_alter($type, &$data, &$context1 = NULL, &$context2 = NULL) { return \Drupal::moduleHandler()->alter($type, $data, $context1, $context2); } -/** - * Determines whether a given module exists. - * - * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. - * Use \Drupal::moduleHandler()->moduleExists($module). - * - * @see \Drupal\Core\Extension\ModuleHandler::moduleExists() - */ -function module_exists($module) { - return \Drupal::moduleHandler()->moduleExists($module); -} - /** * Returns the test prefix if this is an internal request from SimpleTest. *