From 589342e57bfc3f124edce87e6122234839f73b4c Mon Sep 17 00:00:00 2001 From: Michael Prasuhn Date: Fri, 22 Apr 2011 14:49:52 -0700 Subject: [PATCH] Issue #716348 by mikey_p: Revert documentation on drupal_get_path() and drupal_get_filename(). --- includes/bootstrap.inc | 3 ++- includes/common.inc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 110426a..ae64165 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -643,7 +643,8 @@ function drupal_settings_initialize() { * the above, depending on where the module is located. * * @param $type - * The type of the item (i.e. theme, theme_engine, module, profile). + * The type of the item (i.e. theme, theme_engine, module). For install + * profiles, use 'module' as the type. * @param $name * The name of the item for which the filename is requested. * @param $filename diff --git a/includes/common.inc b/includes/common.inc index 3eb76b4..dc0e133 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -2653,7 +2653,8 @@ function drupal_set_time_limit($time_limit) { * Returns the path to a system item (module, theme, etc.). * * @param $type - * The type of the item (i.e. theme, theme_engine, module, profile). + * The type of the item (i.e. theme, theme_engine, module). For install + * profiles, use 'module' as the type. * @param $name * The name of the item for which the path is requested. * -- 1.7.4.4