public function JobScheduler::removeAll in Job Scheduler 7.2
Same name and namespace in other branches
- 6 JobScheduler.inc \JobScheduler::removeAll()
- 7 JobScheduler.inc \JobScheduler::removeAll()
Remove all jobs for a given type.
File
- ./
JobScheduler.inc, line 129 - JobScheduler class.
Class
- JobScheduler
- Manage scheduled jobs.
Code
public function removeAll($type) {
db_delete('job_schedule')
->condition('name', $this->name)
->condition('type', $type)
->execute();
}