Commit 14c7a79e authored by webchick's avatar webchick

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

parent ccd6fb62
......@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment