You are here

function progress_remove_progress in Progress 7

Same name and namespace in other branches
  1. 8 progress.module \progress_remove_progress()
  2. 6 progress.module \progress_remove_progress()

Remove a progress

Parameters

string $name: Name of progress

Return value

boolean TRUE on success, FALSE on fail

1 call to progress_remove_progress()
progress_initialize_progress in ./progress.module
Initialize a progress

File

./progress.module, line 176
Progress framework for keeping track of progresses

Code

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