summaryrefslogtreecommitdiff
path: root/includes/file.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-18 16:22:30 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-18 16:22:30 +0000
commit44b0863ba4343fa2e55766e467d50184d5d4f737 (patch)
treeb0e2474c5cb873ff19ea4a406019b7503ff914db /includes/file.inc
parent7070b8c19b6c56030c8bff181838d82c932a4d6f (diff)
downloadbrdo-44b0863ba4343fa2e55766e467d50184d5d4f737.tar.gz
brdo-44b0863ba4343fa2e55766e467d50184d5d4f737.tar.bz2
#874326 follow-up by rfay: Fix watchdog message typo.
Diffstat (limited to 'includes/file.inc')
-rw-r--r--includes/file.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 0eb97281f..a685bdf32 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -859,7 +859,7 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST
$dirname = drupal_dirname($destination);
if (!file_prepare_directory($dirname)) {
// The destination is not valid.
- watchdog('file', 'File %file could not be copied, because the destination directory %directory is not configured correctly.', array('%file' => $original_source, '%destination' => drupal_realpath($dirname)));
+ watchdog('file', 'File %file could not be copied, because the destination directory %destination is not configured correctly.', array('%file' => $original_source, '%destination' => drupal_realpath($dirname)));
drupal_set_message(t('The specified file %file could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.', array('%file' => $original_source)), 'error');
return FALSE;
}