Issue #1100260 by barbi, jhodgdon: fix phpdoc in batch operations example to have...
authorGábor Hojtsy
Wed, 23 Nov 2011 09:12:28 +0000 (10:12 +0100)
committerGábor Hojtsy
Wed, 23 Nov 2011 09:12:28 +0000 (10:12 +0100)
includes/form.inc

index 54cda83..b29efcc 100644 (file)
@@ -2324,8 +2324,9 @@ function form_clean_id($id = NULL, $flush = FALSE) {
  *   'file' => 'path_to_file_containing_myfunctions',
  * );
  * batch_set($batch);
- * // only needed if not inside a form _submit handler :
- * batch_process();
+ * // Only needed if not inside a form _submit handler.
+ * // Setting redirect in batch_process.
+ * batch_process('node/1');
  * @endcode
  *
  * Note: if the batch 'title', 'init_message', 'progress_message', or