You are here

function feeds_update_7209 in Feeds 7.2

Same name and namespace in other branches
  1. 8.2 feeds.install \feeds_update_7209()

Reschedules feeds jobs.

File

./feeds.install, line 739
Schema definitions install/update/uninstall hooks.

Code

function feeds_update_7209() {

  // Reschedule all importers.
  variable_set('feeds_reschedule', TRUE);

  // Our expire callback has changed names, remove all existing callbacks.
  db_delete('job_schedule')
    ->condition('name', 'feeds_importer_expire')
    ->execute();
  DrupalQueue::get('feeds_importer_expire')
    ->deleteQueue();
}