summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-09-06 19:00:55 +0000
committerDries Buytaert <dries@buytaert.net>2005-09-06 19:00:55 +0000
commitd7139b85dbfce5b6e2bb5348ce8ea2f9b2964c22 (patch)
treeef3715eec6b220d79a75bf7b933bcb3a640f7412
parent3be71ac514b79c34679336f0ed2c77906409f10d (diff)
downloadbrdo-d7139b85dbfce5b6e2bb5348ce8ea2f9b2964c22.tar.gz
brdo-d7139b85dbfce5b6e2bb5348ce8ea2f9b2964c22.tar.bz2
- Bug #30390: fixed parse error. Alternative fix.
-rw-r--r--includes/file.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 38049be70..d91163dde 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -265,9 +265,6 @@ function file_copy(&$source, $dest = 0, $replace = FILE_EXISTS_RENAME) {
case FILE_EXISTS_ERROR:
drupal_set_message(t('The selected file %file could not be copied, because a file by that name already exists in the destination.', array('%file' => theme('placeholder', $source))), 'error');
return 0;
-
- case FILE_EXISTS_REPLACE:
- // Leave $dest where it is for replace.
}
}