You are here

public function FeedsDataProcessor::configFormSubmit in Feeds 6

Reschedule if expiry time changes.

Overrides FeedsConfigurable::configFormSubmit

File

plugins/FeedsDataProcessor.inc, line 274
Definition of FeedsDataProcessor.

Class

FeedsDataProcessor
Creates simple table records from feed items. Uses Data module.

Code

public function configFormSubmit(&$values) {
  if ($this->config['expire'] != $values['expire']) {
    feeds_reschedule($this->id);
  }
  parent::configFormSubmit($values);
}