diff --git a/includes/module.inc b/includes/module.inc
index 4b506a0d3b1f0e74282914d7c93d1bcb8059d3ec..4d25994f7fe15b30f7ecef148d796b71c1e302fe 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -324,12 +324,7 @@ function module_disable($module_list) {
  */
 function module_hook($module, $hook) {
   $function = $module . '_' . $hook;
-  if (defined('MAINTENANCE_MODE')) {
-    return function_exists($function);
-  }
-  else {
-    return drupal_function_exists($function);
-  }
+  return function_exists($function) || drupal_function_exists($function);
 }
 
 /**