You are here

function progress_remove_progress in Progress 6

Same name and namespace in other branches
  1. 8 progress.module \progress_remove_progress()
  2. 7 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 130
Progress framework for keeping track of progresses

Code

function progress_remove_progress($name) {
  return db_query("DELETE FROM {progress} WHERE name = '%s'", $name);
}