From 370a8e368cb19a5f77e4e47455082259fdb5d392 Mon Sep 17 00:00:00 2001 From: webchick Date: Wed, 22 Jun 2011 09:54:13 -0700 Subject: Issue #1192482 by pillarsdotnet: Fixed docs for drupal_save_data(). --- includes/file.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/file.inc b/includes/file.inc index eaac15097..2103c3641 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -1753,9 +1753,9 @@ function file_validate_image_resolution(stdClass $file, $maximum_dimensions = 0, * @param $data * A string containing the contents of the file. * @param $destination - * A string containing the destination URI. - * This must be a stream wrapper URI. If this value is omitted, Drupal's - * default files scheme will be used, usually "public://". + * A string containing the destination URI. This must be a stream wrapper URI. + * If no value is provided, a randomized name will be generated and the file + * will be saved using Drupal's default files scheme, usually "public://". * @param $replace * Replace behavior when the destination file already exists: * - FILE_EXISTS_REPLACE - Replace the existing file. If a managed file with -- cgit v1.2.3