function feeds_importer_expire in Feeds 7
Same name and namespace in other branches
- 6 feeds.module \feeds_importer_expire()
Scheduler callback for expiring content.
Related topics
3 string references to 'feeds_importer_expire'
- FeedsImporter::delete in includes/FeedsImporter.inc 
- Delete configuration. Removes configuration information from database, does not delete configuration itself.
- FeedsImporter::schedule in includes/FeedsImporter.inc 
- Schedule this importer.
- feeds_cron_queue_info in ./feeds.module 
- Implements hook_cron_queue_info().
File
- ./feeds.module, line 77 
- Feeds - basic API functions and hook implementations.
Code
function feeds_importer_expire($job) {
  $importer = feeds_importer($job['type']);
  try {
    $importer
      ->existing()
      ->expire();
  } catch (Exception $e) {
    watchdog('feeds_importer_expire()', $e
      ->getMessage(), array(), WATCHDOG_ERROR);
  }
  $importer
    ->schedule();
}