diff --git a/core/includes/file.inc b/core/includes/file.inc index 4ac32b0..6e6611f 100644 --- a/core/includes/file.inc +++ b/core/includes/file.inc @@ -906,7 +906,7 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST // Make sure the .htaccess files are present. file_ensure_htaccess(); // Perform the copy operation. - if (!@copy($source, $destination) && !@copy($real_source, $real_destination)) { + if (!@copy($source, $destination)) { watchdog('file', 'The specified file %file could not be copied to %destination.', array('%file' => $source, '%destination' => $destination), WATCHDOG_ERROR); return FALSE; }