summaryrefslogtreecommitdiff
path: root/includes/file.inc
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-06-22 09:54:13 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-06-22 09:54:13 -0700
commit370a8e368cb19a5f77e4e47455082259fdb5d392 (patch)
tree1f01753bed100ce3c7822abbb348b8547d61c1fc /includes/file.inc
parente189bbd76a232ee71a9ad6b0d75d608a503dc899 (diff)
downloadbrdo-370a8e368cb19a5f77e4e47455082259fdb5d392.tar.gz
brdo-370a8e368cb19a5f77e4e47455082259fdb5d392.tar.bz2
Issue #1192482 by pillarsdotnet: Fixed docs for drupal_save_data().
Diffstat (limited to 'includes/file.inc')
-rw-r--r--includes/file.inc6
1 files changed, 3 insertions, 3 deletions
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