From 36c7a10caaf9e192ccfcff36d198f5fa47f2ebe2 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Fri, 11 Jul 2014 10:57:45 +0100
Subject: [PATCH] Issue #2300833 by joshi.rohit100: Remove module_hook() as it
 is deprecated.

---
 core/includes/bootstrap.inc | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index 247d51fa2b4c..caa20b91c186 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -1192,18 +1192,6 @@ function module_exists($module) {
   return \Drupal::moduleHandler()->moduleExists($module);
 }
 
-/**
- * Determines whether a module implements a hook.
- *
- * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
- *   Use \Drupal::moduleHandler()->implementsHook($module, $hook).
- *
- * @see \Drupal\Core\Extension\ModuleHandler::implementsHook()
- */
-function module_hook($module, $hook) {
-  return \Drupal::moduleHandler()->implementsHook($module, $hook);
-}
-
 /**
  * Returns the test prefix if this is an internal request from SimpleTest.
  *
-- 
GitLab