Skip to content

Commit

Permalink
Issue #1049050 by mfb, TwoD, David_Rothstein, jpsoto: Removed dead co…
Browse files Browse the repository at this point in the history
…de in file_stream_wrapper_uri_normalize().
  • Loading branch information
DavidRothstein committed Apr 1, 2013
1 parent 83c4188 commit a9c27da
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions includes/file.inc
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,6 @@ function file_stream_wrapper_uri_normalize($uri) {
$uri = $scheme . '://' . $target;
}
}
else {
// The default scheme is file://
$url = 'file://' . $uri;
}
return $uri;
}

Expand Down Expand Up @@ -834,9 +830,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.
Expand Down

0 comments on commit a9c27da

Please sign in to comment.