You are here

function feeds_crawler_reset_source_class in Feeds Crawler 6

Same name and namespace in other branches
  1. 6.2 feeds_crawler.module \feeds_crawler_reset_source_class()
1 call to feeds_crawler_reset_source_class()
feeds_crawler_batch in ./feeds_crawler.module
Batch callback.

File

./feeds_crawler.module, line 116

Code

function feeds_crawler_reset_source_class($feeds_source_class) {
  if ($feeds_source_class == NULL || $feeds_source_class == 'FeedsSourceCrawler') {
    variable_del('feeds_source_class');
  }
  else {
    variable_set('feeds_source_class', $feeds_source_class);
  }
}