Skip to content
Snippets Groups Projects
Commit 14c7a79e authored by Angie Byron's avatar Angie Byron
Browse files

#890716 by agentrickard: Fixed Changing from public to private does not change field behavior.

parent ccd6fb62
No related branches found
No related tags found
No related merge requests found
......@@ -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',
......
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment