summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-01 06:37:39 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-01 06:37:39 +0000
commit0cd152a72cd6fb8e41c50e3661cbc404d69e300f (patch)
treeada48fcac7438a28f48a7299732995b20ec6f401
parent6ab87819a0a0f6ea5b3467e574e5ff2ad663133a (diff)
downloadbrdo-0cd152a72cd6fb8e41c50e3661cbc404d69e300f.tar.gz
brdo-0cd152a72cd6fb8e41c50e3661cbc404d69e300f.tar.bz2
#883400 follow-up by chx: Re-remove silly dsm() for file_unmanaged_copy() that was removed in a previous patch.
-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;
}