summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-12-25 15:18:47 -0500
committerDavid Rothstein <drothstein@gmail.com>2013-12-25 15:18:47 -0500
commit998ec186953bb906e1aff426d70c7a56b2c14bfd (patch)
treec58ab05413e9bbab0e03748a5fd8933a3a534a7a /profiles
parent7b029aca04e5834209ee4c073e4eb6cf971b66c1 (diff)
downloadbrdo-998ec186953bb906e1aff426d70c7a56b2c14bfd.tar.gz
brdo-998ec186953bb906e1aff426d70c7a56b2c14bfd.tar.bz2
Issue #1346098 by benjy | joachim: Standard install profile sets a pointless $vocabulary->help.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/standard/standard.install6
1 files changed, 2 insertions, 4 deletions
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,