From 998ec186953bb906e1aff426d70c7a56b2c14bfd Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Wed, 25 Dec 2013 15:18:47 -0500 Subject: Issue #1346098 by benjy | joachim: Standard install profile sets a pointless $vocabulary->help. --- profiles/standard/standard.install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'profiles/standard') diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install index 1d563a48d..ae34eafaf 100644 --- a/profiles/standard/standard.install +++ b/profiles/standard/standard.install @@ -275,13 +275,10 @@ function standard_install() { // Create a default vocabulary named "Tags", enabled for the 'article' content type. $description = st('Use tags to group articles on similar topics into categories.'); - $help = st('Enter a comma-separated list of words to describe your content.'); $vocabulary = (object) array( 'name' => st('Tags'), 'description' => $description, 'machine_name' => 'tags', - 'help' => $help, - ); taxonomy_vocabulary_save($vocabulary); @@ -301,12 +298,13 @@ function standard_install() { ); field_create_field($field); + $help = st('Enter a comma-separated list of words to describe your content.'); $instance = array( 'field_name' => 'field_' . $vocabulary->machine_name, 'entity_type' => 'node', 'label' => 'Tags', 'bundle' => 'article', - 'description' => $vocabulary->help, + 'description' => $help, 'widget' => array( 'type' => 'taxonomy_autocomplete', 'weight' => -4, -- cgit v1.2.3