Skip to content

Commit 998ec18

Browse files
Issue #1346098 by benjy | joachim: Standard install profile sets a pointless $vocabulary->help.
1 parent 7b029ac commit 998ec18

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

profiles/standard/standard.install

+2-4
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,10 @@ function standard_install() {
275275

276276
// Create a default vocabulary named "Tags", enabled for the 'article' content type.
277277
$description = st('Use tags to group articles on similar topics into categories.');
278-
$help = st('Enter a comma-separated list of words to describe your content.');
279278
$vocabulary = (object) array(
280279
'name' => st('Tags'),
281280
'description' => $description,
282281
'machine_name' => 'tags',
283-
'help' => $help,
284-
285282
);
286283
taxonomy_vocabulary_save($vocabulary);
287284

@@ -301,12 +298,13 @@ function standard_install() {
301298
);
302299
field_create_field($field);
303300

301+
$help = st('Enter a comma-separated list of words to describe your content.');
304302
$instance = array(
305303
'field_name' => 'field_' . $vocabulary->machine_name,
306304
'entity_type' => 'node',
307305
'label' => 'Tags',
308306
'bundle' => 'article',
309-
'description' => $vocabulary->help,
307+
'description' => $help,
310308
'widget' => array(
311309
'type' => 'taxonomy_autocomplete',
312310
'weight' => -4,

0 commit comments

Comments
 (0)