diff --git a/core/modules/file/tests/file_module_test.module b/core/modules/file/tests/file_module_test.module index 3880138..48ba87b 100644 --- a/core/modules/file/tests/file_module_test.module +++ b/core/modules/file/tests/file_module_test.module @@ -76,9 +76,8 @@ function file_module_test_form_submit($form, &$form_state) { function file_module_test_file_download_access($field, $entity_type, $entity) { list(,, $bundle) = entity_extract_ids($entity_type, $entity); $instance = field_info_instance($entity_type, $field['field_name'], $bundle); - // Allow the file to be downloaded only if the given arguments are correct: if - // any of them is wrong $instance is NULL. Otherwise we must not interfere - // with the access check. + // Allow the file to be downloaded only if the given arguments are correct. + // If any are wrong, $instance will be NULL. if (empty($instance)) { return FALSE; }