Skip to content
Snippets Groups Projects
Commit b4798b19 authored by Dave Reid's avatar Dave Reid
Browse files

Issue #1066810: Fixed list of 'Expire nodes' options in FeedsNodeProcessor.

parent 6e5a12c4
No related branches found
No related tags found
No related merge requests found
...@@ -148,7 +148,7 @@ class FeedsNodeProcessor extends FeedsProcessor { ...@@ -148,7 +148,7 @@ class FeedsNodeProcessor extends FeedsProcessor {
'#autocomplete_path' => 'user/autocomplete', '#autocomplete_path' => 'user/autocomplete',
'#default_value' => empty($author->name) ? 'anonymous' : check_plain($author->name), '#default_value' => empty($author->name) ? 'anonymous' : check_plain($author->name),
); );
$period = drupal_map_assoc(array(FEEDS_EXPIRE_NEVER, 3600, 10800, 21600, 43200, 86400, 259200, 604800, 604800 * 4, 604800 * 12, 604800 * 24, 31536000), 'feeds_format_expire'); $period = drupal_map_assoc(array(FEEDS_EXPIRE_NEVER, 3600, 10800, 21600, 43200, 86400, 259200, 604800, 2592000, 2592000 * 3, 2592000 * 6, 31536000), 'feeds_format_expire');
$form['expire'] = array( $form['expire'] = array(
'#type' => 'select', '#type' => 'select',
'#title' => t('Expire nodes'), '#title' => t('Expire nodes'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment