Navigation

Search

pauseRepairProcess

Description

Shows the not_done template to avoid CGI timeouts and similar.

Syntax

void pauseRepairProcess (void $to_fix[, int $max_substep])



Parameter $to_fix

Expected type: Void
Description: An array of one or more error keywords (see code for RepairBoards for exact options)



Parameter $max_substep

Expected type: Integer
Description: The maximum substep. Defaults to 0


Notes

  • Called when 3 or more seconds have passed while searching for errors.
  • If max_substep is set, $_GET['substep'] / $max_substep indicates the percentage of the process that has been completed.
  • Each value in the array is a specific error string (zero_ids, missing_topics, etc.)
  • There are too many possible values to list them and explain them all here. See code for exact options.
View all versions of this function