From d7139b85dbfce5b6e2bb5348ce8ea2f9b2964c22 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 6 Sep 2005 19:00:55 +0000 Subject: [PATCH] - Bug #30390: fixed parse error. Alternative fix. --- includes/file.inc | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/file.inc b/includes/file.inc index 38049be700e..d91163ddefe 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. } }