Commit 36adc62b authored by jhodgdon's avatar jhodgdon

Issue #2163625 by StephaneQ: Fix incorrect method reference in comment in ModuleHandler

parent d9227efb
......@@ -426,7 +426,7 @@ protected function getImplementationInfo($hook) {
$hook_info = $this->getHookInfo();
foreach ($this->moduleList as $module => $filename) {
$include_file = isset($hook_info[$hook]['group']) && $this->loadInclude($module, 'inc', $module . '.' . $hook_info[$hook]['group']);
// Since $this->hookImplements() may needlessly try to load the include
// Since $this->implementsHook() may needlessly try to load the include
// file again, function_exists() is used directly here.
if (function_exists($module . '_' . $hook)) {
$this->implementations[$hook][$module] = $include_file ? $hook_info[$hook]['group'] : FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment