You are here

public function FeedsNodeProcessor::configFormSubmit in Feeds 6

Same name and namespace in other branches
  1. 7.2 plugins/FeedsNodeProcessor.inc \FeedsNodeProcessor::configFormSubmit()
  2. 7 plugins/FeedsNodeProcessor.inc \FeedsNodeProcessor::configFormSubmit()

Reschedule if expiry time changes.

Overrides FeedsConfigurable::configFormSubmit

File

plugins/FeedsNodeProcessor.inc, line 253
Class definition of FeedsNodeProcessor.

Class

FeedsNodeProcessor
Creates nodes from feed items.

Code

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