You are here

protected function FeedsNodeProcessor::expiryQuery in Feeds 7.2

Overrides parent::expiryQuery().

Overrides FeedsProcessor::expiryQuery

File

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

Class

FeedsNodeProcessor
Creates nodes from feed items.

Code

protected function expiryQuery(FeedsSource $source, $time) {
  $select = parent::expiryQuery($source, $time);
  $select
    ->condition('e.created', REQUEST_TIME - $time, '<');
  return $select;
}