You are here

public function FeedsHTTPCache::startSync in Feeds 7.2

Queues all files to be synced with the cache list.

File

includes/FeedsHTTPCache.inc, line 291
Contains FeedsHTTPCache class.

Class

FeedsHTTPCache
Cache implementation for the Feeds HTTP cache.

Code

public function startSync() {

  // Get all files currently in the cache directory.
  $files = $this
    ->getFileList();
  $queue = DrupalQueue::get('feeds_sync_cache_feeds_http');
  $queue
    ->createItem(array(
    'files' => $files,
  ));
}