diff --git a/core/modules/aggregator/lib/Drupal/aggregator/FeedFormController.php b/core/modules/aggregator/lib/Drupal/aggregator/FeedFormController.php index e809a6e..371c547 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/FeedFormController.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/FeedFormController.php @@ -23,9 +23,6 @@ class FeedFormController extends ContentEntityFormController { */ public function form(array $form, array &$form_state) { $feed = $this->entity; - $intervals = array(900, 1800, 3600, 7200, 10800, 21600, 32400, 43200, 64800, 86400, 172800, 259200, 604800, 1209600, 2419200); - $period = array_map('format_interval', array_combine($intervals, $intervals)); - $period[AGGREGATOR_CLEAR_NEVER] = $this->t('Never'); // @todo: convert to a language selection widget defined in the base field. // Blocked on https://drupal.org/node/2226493 which adds a generic language widget.