diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index caa20b91c18618e0eba9757aeb32b17c6ae4d7ee..40245d2e1564fe9aadc3dfcf44eb0d530bbc9026 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -1149,25 +1149,6 @@ function module_invoke($module, $hook) {
   return \Drupal::moduleHandler()->invoke($module, $hook, $args);
 }
 
-/**
- * Invokes a hook in all enabled modules that implement it.
- *
- * All arguments are passed by value. Use \Drupal::moduleHandler()->alter() if
- * you need to pass arguments by reference.
- *
- * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
- *   Use \Drupal::moduleHandler()->invokeAll($hook).
- *
- * @see \Drupal\Core\Extension\ModuleHandler::alter()
- * @see \Drupal\Core\Extension\ModuleHandler::invokeAll()
- */
-function module_invoke_all($hook) {
-  $args = func_get_args();
-  // Remove $hook from the arguments.
-  unset($args[0]);
-  return \Drupal::moduleHandler()->invokeAll($hook, $args);
-}
-
 /**
  * Passes alterable variables to specific hook_TYPE_alter() implementations.
  *