diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-09 23:28:16 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-09 23:28:16 +0000 |
commit | 14c7a79e3f26da9690068ff0c72aaa6f40ce793a (patch) | |
tree | 13a579e97412ef21efb02e7f691149c7f7d91339 /modules | |
parent | ccd6fb62a3a9b5da77bdd2fcaecdf6be2734b1bf (diff) | |
download | brdo-14c7a79e3f26da9690068ff0c72aaa6f40ce793a.tar.gz brdo-14c7a79e3f26da9690068ff0c72aaa6f40ce793a.tar.bz2 |
#890716 by agentrickard: Fixed Changing from public to private does not change field behavior.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/file/file.field.inc | 2 | ||||
-rw-r--r-- | modules/image/image.field.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/file/file.field.inc b/modules/file/file.field.inc index 5ac4cfed3..085bfdc8f 100644 --- a/modules/file/file.field.inc +++ b/modules/file/file.field.inc @@ -17,7 +17,7 @@ function file_field_info() { 'settings' => array( 'display_field' => 0, 'display_default' => 0, - 'uri_scheme' => 'public', + 'uri_scheme' => variable_get('file_default_scheme', 'public'), ), 'instance_settings' => array( 'file_extensions' => 'txt', diff --git a/modules/image/image.field.inc b/modules/image/image.field.inc index 106e68e26..15c287a69 100644 --- a/modules/image/image.field.inc +++ b/modules/image/image.field.inc @@ -15,7 +15,7 @@ function image_field_info() { 'label' => t('Image'), 'description' => t('This field stores the ID of an image file as an integer value.'), 'settings' => array( - 'uri_scheme' => 'public', + 'uri_scheme' => variable_get('file_default_scheme', 'public'), 'default_image' => 0, ), 'instance_settings' => array( |