#883400 follow-up by chx: Re-remove silly dsm() for file_unmanaged_copy() that was removed in a previous patch.
parent
6ab87819a0
commit
0cd152a72c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue