From a45a4c4d48ce3cc3768b2d3bfcae55f78a630b3e Mon Sep 17 00:00:00 2001
From: Angie Byron <webchick@24967.no-reply.drupal.org>
Date: Fri, 24 Dec 2010 15:25:28 +0000
Subject: [PATCH] #1005306 by pillarsdotnet: Fixed Remove useless and outdated
 reference to file_directory_path

---
 modules/file/file.field.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/file/file.field.inc b/modules/file/file.field.inc
index f83811d36ffd..c20fe77414ca 100644
--- a/modules/file/file.field.inc
+++ b/modules/file/file.field.inc
@@ -79,7 +79,7 @@ function file_field_instance_settings_form($field, $instance) {
     '#type' => 'textfield',
     '#title' => t('File directory'),
     '#default_value' => $settings['file_directory'],
-    '#description' => t('Optional subdirectory within the upload destination where files will be stored. Do not include preceding or trailing slashes.', array('%directory' => variable_get('file_directory_path', 'files') . '/')),
+    '#description' => t('Optional subdirectory within the upload destination where files will be stored. Do not include preceding or trailing slashes.'),
     '#element_validate' => array('_file_generic_settings_file_directory_validate'),
     '#weight' => 3,
   );
-- 
GitLab