summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/file.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 769493a61..fa72e195f 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -853,7 +853,6 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST
file_ensure_htaccess();
// Perform the copy operation.
if (!@copy($source, $destination)) {
- drupal_set_message(t('The specified file %file could not be copied.', array('%file' => $source)), 'error');
watchdog('file', 'The specified file %file could not be copied to %destination.', array('%file' => $source, '%destination' => drupal_realpath($destination)), WATCHDOG_ERROR);
return FALSE;
}