You are here

protected function RelationFeedsProcessor::expiryQuery in Relation 7

Overrides parent::expiryQuery().

File

relation_feeds/RelationFeedsProcessor.inc, line 175
Class definition of RelationFeedsProcessor.

Class

RelationFeedsProcessor
Creates relations from feed items.

Code

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