From 1a888395b95a9df13259e985a02db3c1e1404a8f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 29 May 2001 21:11:20 +0000 Subject: - Removed a few lines of dead code. --- includes/module.inc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/includes/module.inc b/includes/module.inc index 9033078c3..2843e5547 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -16,11 +16,6 @@ function module_invoke($name, $hook, $argument = "") { return function_exists($function) ? $function($argument) : $argument; } -// return true if module $name supports hook $hook, and false otherwise: -function module_is_hook($name, $hook) { - return function_exists($name ."_". $hook); -} - // return an array of module names (includes lazy module loading): function module_list() { static $list; -- cgit v1.2.3