Index: includes/file.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/file.inc,v retrieving revision 1.243 diff -u -p -r1.243 file.inc --- includes/file.inc 15 Dec 2010 03:39:41 -0000 1.243 +++ includes/file.inc 21 Feb 2011 20:38:42 -0000 @@ -288,10 +288,6 @@ function file_stream_wrapper_uri_normali $uri = $scheme . '://' . $target; } } - else { - // The default scheme is file:// - $url = 'file://' . $uri; - } return $uri; } @@ -830,9 +826,8 @@ function file_valid_uri($uri) { * A string specifying the filepath or URI of the source file. * @param $destination * A URI containing the destination that $source should be copied to. The - * URI may be a bare filepath (without a scheme) and in that case the default - * scheme (file://) will be used. If this value is omitted, Drupal's default - * files scheme will be used, usually "public://". + * URI may be a bare filepath (without a scheme). If this value is omitted, + * Drupal's default files scheme will be used, usually "public://". * @param $replace * Replace behavior when the destination file already exists: * - FILE_EXISTS_REPLACE - Replace the existing file.