summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/module.inc9
1 files changed, 6 insertions, 3 deletions
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