#883400 follow-up by chx: Re-remove silly dsm() for file_unmanaged_copy() that was removed in a previous patch.

merge-requests/26/head
Angie Byron 2010-10-01 06:37:39 +00:00
parent 6ab87819a0
commit 0cd152a72c
1 changed files with 0 additions and 1 deletions

View File

@ -853,7 +853,6 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST
file_ensure_htaccess(); file_ensure_htaccess();
// Perform the copy operation. // Perform the copy operation.
if (!@copy($source, $destination)) { 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); watchdog('file', 'The specified file %file could not be copied to %destination.', array('%file' => $source, '%destination' => drupal_realpath($destination)), WATCHDOG_ERROR);
return FALSE; return FALSE;
} }