You are here

public function FeedsSource::ensureSchedule in Feeds 7.2

Schedule all periodic tasks for this source if not already scheduled.

File

includes/FeedsSource.inc, line 390
Definition of FeedsSourceInterface, FeedsState and FeedsSource class.

Class

FeedsSource
Holds the source of a feed to import.

Code

public function ensureSchedule() {
  $this
    ->scheduleImport(FALSE);
  $this
    ->scheduleExpire(FALSE);
}