Index: includes/bootstrap.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v retrieving revision 1.46 diff -u -F^f -r1.46 bootstrap.inc --- includes/bootstrap.inc 12 Apr 2005 16:55:11 -0000 1.46 +++ includes/bootstrap.inc 12 May 2005 08:22:59 -0000 @@ -655,12 +655,18 @@ function watchdog($type, $message, $seve } /** - * Set a message for the user to see. + * Set a message which reflects the status of the performed operation. + * + * If the function is called with no arguments, this function returns all set + * messages without clearing them. * - * The message is stored in the session so that it can persist through a redirect. - * - * If called with no arguments, this function returns all set messages without - * clearing them. + * @param $message + * The message should begin with a capital letter and always ends with a + * period '.'. + * @param $type + * The type of the message. One of the following values are possible: + * - 'status' + * - 'error' */ function drupal_set_message($message = NULL, $type = 'status') { if (isset($message)) { cvs diff: Diffing misc cvs diff: Diffing modules cvs diff: Diffing scripts cvs diff: Diffing sites cvs diff: Diffing sites/default