From b7c27c32466c380f78df3f4feb0285371e9f9fd0 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 10 Jul 2009 04:58:08 +0000 Subject: #485350 follow-up by Dave Reid: Fix code example for module_load_include(). --- includes/module.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/module.inc b/includes/module.inc index 3b79eee00..4b506a0d3 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -141,12 +141,15 @@ function module_load_install($module) { * * Examples: * @code - * // Load node.admin.inc from the node module + * // Load node.admin.inc from the node module. * module_load_include('inc', 'node', 'node.admin'); - * // Load node.install from the node module - * module_load_include('install', 'node'); + * // Load content_types.inc from the node module. + * module_load_include('inc', 'node', 'content_types'); * @endcode * + * Do not use this function to load an install file. Use module_load_install() + * instead. + * * @param $type * The include file's type (file extension). * @param $module -- cgit v1.2.3