Commit 0cd152a7 authored by webchick's avatar webchick

#883400 follow-up by chx: Re-remove silly dsm() for file_unmanaged_copy() that...

#883400 follow-up by chx: Re-remove silly dsm() for file_unmanaged_copy() that was removed in a previous patch.
parent 6ab87819
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment