You are here

function progress_remove_progress in Background Process 8

Remove a progress.

3 calls to progress_remove_progress()
BackgroundProcess::execute in ./background_process.class.php
Implements Execute Process.
BackgroundProcess::queue in ./background_process.class.php
Implements Queues.
progress_initialize_progress in progress/progress.module
Initialize a progress.

File

progress/progress.module, line 127
Progress framework for keeping track of progresses. @todo Force MyISAM for table {progress} to avoid transaction/isolation level problems, and use INSERT DELAYED for performance.

Code

function progress_remove_progress($name) {
  return db_delete('progress')
    ->condition('name', $name)
    ->execute();
}