From 358fa43c044c850ba65856cbfa07bb782f13c570 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 18 Jul 2007 14:10:14 +0000 Subject: - Patch #160263 by Rok Zlender: module_implements() refresh is not working. --- includes/module.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/module.inc b/includes/module.inc index f8a565746..0268bcb64 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -343,7 +343,7 @@ function module_implements($hook, $sort = FALSE, $refresh = FALSE) { static $implementations; if ($refresh) { - unset($implementations); + $implementations = array(); return; } -- cgit v1.2.3