Commit df000a82 authored by drumm's avatar drumm
Browse files

Issue #3292162: Remove the now-unused fields

parent 9f72205a
......@@ -925,10 +925,6 @@ function drupalorg_field_access($op, $field, $entity_type, $entity, $account) {
// Handle the case of the organization/status fields.
switch ($field['field_name']) {
case 'field_org_membership_status':
case 'field_organization_list_rule':
case 'field_organization_training_list':
case 'field_org_services_issue':
case 'field_org_train_issue':
case 'field_status':
case 'field_organization_technologies':
case 'field_organization_support':
......
......@@ -335,76 +335,6 @@ function drupalorg_marketplace_field_default_field_bases() {
'type' => 'text',
);
// Exported field_base: 'field_org_services_issue'.
$field_bases['field_org_services_issue'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_org_services_issue',
'indexes' => array(
'target_id' => array(
0 => 'target_id',
),
),
'locked' => 0,
'module' => 'entityreference',
'settings' => array(
'handler' => 'project_behavior',
'handler_settings' => array(
'behavior' => 'project_issue',
'behaviors' => array(
'views-select-list' => array(
'status' => 0,
),
),
'sort' => array(
'direction' => 'DESC',
'property' => 'changed',
'type' => 'property',
),
),
'target_type' => 'node',
),
'translatable' => 0,
'type' => 'entityreference',
);
// Exported field_base: 'field_org_train_issue'.
$field_bases['field_org_train_issue'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_org_train_issue',
'indexes' => array(
'target_id' => array(
0 => 'target_id',
),
),
'locked' => 0,
'module' => 'entityreference',
'settings' => array(
'handler' => 'project_behavior',
'handler_settings' => array(
'behavior' => 'project_issue',
'behaviors' => array(
'views-select-list' => array(
'status' => 0,
),
),
'sort' => array(
'direction' => 'DESC',
'property' => 'changed',
'type' => 'property',
),
),
'target_type' => 'node',
),
'translatable' => 0,
'type' => 'entityreference',
);
// Exported field_base: 'field_org_training_request'.
$field_bases['field_org_training_request'] = array(
'active' => 1,
......@@ -461,35 +391,6 @@ function drupalorg_marketplace_field_default_field_bases() {
'type_name' => 'organization',
);
// Exported field_base: 'field_organization_list_rule'.
$field_bases['field_organization_list_rule'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_organization_list_rule',
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
'never' => 'Do not list',
'all-providers' => 'All providers',
'featured' => 'Featured providers',
),
'allowed_values_function' => '',
'allowed_values_php' => '',
'text_processing' => 0,
),
'translatable' => 0,
'type' => 'list_text',
'type_name' => 'organization',
);
// Exported field_base: 'field_organization_loc_served'.
$field_bases['field_organization_loc_served'] = array(
'active' => 1,
......@@ -566,34 +467,6 @@ function drupalorg_marketplace_field_default_field_bases() {
'type_name' => 'organization',
);
// Exported field_base: 'field_organization_training_list'.
$field_bases['field_organization_training_list'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_organization_training_list',
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
'off' => 'Do not list',
'on' => 'List in the Training section',
),
'allowed_values_function' => '',
'allowed_values_php' => '',
'text_processing' => 0,
),
'translatable' => 0,
'type' => 'list_text',
'type_name' => 'organization',
);
// Exported field_base: 'field_organization_training_url'.
$field_bases['field_organization_training_url'] = array(
'active' => 1,
......
......@@ -483,14 +483,18 @@ function drupalorg_marketplace_field_default_field_instances() {
'default' => array(
'label' => 'hidden',
'module' => 'link',
'settings' => array(),
'settings' => array(
'custom_title' => '',
),
'type' => 'link_default',
'weight' => 1,
),
'full' => array(
'label' => 'above',
'module' => 'link',
'settings' => array(),
'settings' => array(
'custom_title' => '',
),
'type' => 'link_default',
'weight' => -4,
),
......@@ -515,7 +519,9 @@ function drupalorg_marketplace_field_default_field_instances() {
'print' => array(
'label' => 'above',
'module' => 'link',
'settings' => array(),
'settings' => array(
'custom_title' => '',
),
'type' => 'link_default',
'weight' => -4,
),
......@@ -528,21 +534,27 @@ function drupalorg_marketplace_field_default_field_instances() {
'rss' => array(
'label' => 'above',
'module' => 'link',
'settings' => array(),
'settings' => array(
'custom_title' => '',
),
'type' => 'link_default',
'weight' => -4,
),
'search_index' => array(
'label' => 'above',
'module' => 'link',
'settings' => array(),
'settings' => array(
'custom_title' => '',
),
'type' => 'link_default',
'weight' => -4,
),
'search_result' => array(
'label' => 'above',
'module' => 'link',
'settings' => array(),
'settings' => array(
'custom_title' => '',
),
'type' => 'link_default',
'weight' => -4,
),
......@@ -565,6 +577,7 @@ function drupalorg_marketplace_field_default_field_instances() {
'target' => 'default',
'title' => '',
),
'convert_aliases' => 0,
'display' => array(
'url_cutoff' => 80,
),
......@@ -1254,146 +1267,6 @@ If your organization does business in countries where you do not have a street a
),
);
// Exported field_instance: 'node-organization-field_org_services_issue'.
$field_instances['node-organization-field_org_services_issue'] = array(
'bundle' => 'organization',
'default_value' => array(),
'default_value_function' => '',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 25,
),
'issuemetadata' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'map_teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'nodechanges' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'related_content' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_org_services_issue',
'label' => 'Services issue',
'required' => 0,
'settings' => array(
'behaviors' => array(
'prepopulate' => array(
'status' => 0,
),
),
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'field_extrawidgets',
'settings' => array(
'match_operator' => 'STARTS_WITH',
'path' => '',
'size' => 60,
),
'type' => 'field_extrawidgets_hidden',
'weight' => 31,
),
);
// Exported field_instance: 'node-organization-field_org_train_issue'.
$field_instances['node-organization-field_org_train_issue'] = array(
'bundle' => 'organization',
'default_value' => array(),
'default_value_function' => '',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 26,
),
'issuemetadata' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'map_teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'nodechanges' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'related_content' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_org_train_issue',
'label' => 'Training issue',
'required' => 0,
'settings' => array(
'behaviors' => array(
'prepopulate' => array(
'status' => 0,
),
),
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'field_extrawidgets',
'settings' => array(
'match_operator' => 'STARTS_WITH',
'path' => '',
'size' => 60,
),
'type' => 'field_extrawidgets_hidden',
'weight' => 33,
),
);
// Exported field_instance: 'node-organization-field_org_training_request'.
$field_instances['node-organization-field_org_training_request'] = array(
'bundle' => 'organization',
......@@ -1636,104 +1509,6 @@ If your organization does business in countries where you do not have a street a
'widget_type' => 'text_textfield',
);
// Exported field_instance: 'node-organization-field_organization_list_rule'.
$field_instances['node-organization-field_organization_list_rule'] = array(
'bundle' => 'organization',
'default_value' => array(),
'deleted' => 0,
'description' => 'Make sure to follow <a href="/marketplace/guidelines">Marketplace guidelines</a> and "<a href="/node/1710338">Review marketplace listings</a>" guide.',
'display' => array(
'default' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 14,
),
'full' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 24,
),
'issuemetadata' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'map_teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'nodechanges' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 24,
),
'related_content' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 6,
),
'rss' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 24,
),
'search_index' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 24,
),
'search_result' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 24,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 24,
),
),
'entity_type' => 'node',
'field_name' => 'field_organization_list_rule',
'label' => 'Services listing',
'required' => 1,
'settings' => array(
'text_processing' => 0,
'user_register_form' => FALSE,
),
'weight' => 24,
'widget' => array(
'active' => 1,
'module' => 'field_extrawidgets',
'settings' => array(),
'type' => 'field_extrawidgets_hidden',
'weight' => 30,
),
'widget_type' => 'optionwidgets_buttons',
);
// Exported field_instance: 'node-organization-field_organization_loc_served'.
$field_instances['node-organization-field_organization_loc_served'] = array(
'bundle' => 'organization',
......@@ -1971,105 +1746,6 @@ If your organization does business in countries where you do not have a street a
'widget_type' => 'text_textarea',
);
// Exported field_instance:
// 'node-organization-field_organization_training_list'.
$field_instances['node-organization-field_organization_training_list'] = array(
'bundle' => 'organization',
'default_value' => array(),
'deleted' => 0,
'description' => 'Make sure to follow <a href="/marketplace/guidelines">Marketplace guidelines</a> and "<a href="/node/1735864">Review training listings</a>" guide.',
'display' => array(
'default' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 15,
),
'full' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 26,
),
'issuemetadata' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'map_teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'nodechanges' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 26,
),
'related_content' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 2,
),
'rss' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 26,
),
'search_index' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 26,
),
'search_result' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 26,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 26,
),
),
'entity_type' => 'node',
'field_name' => 'field_organization_training_list',
'label' => 'Training listing',
'required' => 1,
'settings' => array(
'text_processing' => 0,
'user_register_form' => FALSE,
),
'weight' => 26,
'widget' => array(
'active' => 1,
'module' => 'field_extrawidgets',
'settings' => array(),
'type' => 'field_extrawidgets_hidden',
'weight' => 32,
),
'widget_type' => 'optionwidgets_buttons',
);
// Exported field_instance:
// 'node-organization-field_organization_training_url'.
$field_instances['node-organization-field_organization_training_url'] = array(
......@@ -2085,14 +1761,18 @@ If your organization does business in countries where you do not have a street a
'def