From d071f99172555f680fb4e497f0b5124a3be687ba Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 17 Apr 2006 20:48:26 +0000 Subject: - Removing trailing whitespace. --- modules/upload/upload.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/upload') diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 9a6ba2f1f..9ca3d95b8 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -80,7 +80,7 @@ function upload_menu($may_cache) { foreach ($_SESSION['file_previews'] as $fid => $file) { $filename = file_create_filename($file->filename, file_create_path()); if (variable_get('file_downloads', FILE_DOWNLOADS_PUBLIC) == FILE_DOWNLOADS_PRIVATE) { - // strip file_directory_path() from filename. @see file_create_url + // strip file_directory_path() from filename. @see file_create_url if (strpos($filename, file_directory_path()) !== false) { $filename = trim(substr($filename, strlen(file_directory_path())), '\\/'); } -- cgit v1.2.3